From a37556dda10bef73557df93f357145729741fd2b Mon Sep 17 00:00:00 2001 From: Josh Stupplebeen Date: Fri, 17 Apr 2015 09:19:09 -0600 Subject: [PATCH] Changed DTM passed to GMT --- Rally.RestApi/Json/DynamicJsonObject.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rally.RestApi/Json/DynamicJsonObject.cs b/Rally.RestApi/Json/DynamicJsonObject.cs index 73a7bd3..debf39e 100644 --- a/Rally.RestApi/Json/DynamicJsonObject.cs +++ b/Rally.RestApi/Json/DynamicJsonObject.cs @@ -122,7 +122,7 @@ private object FormatSetValue(object value) } if (value is DateTime) { - return ((DateTime)value).ToString("yyyy'-'MM'-'dd'T'HH':'mm':'ss'.'fff'Z'"); + return ((DateTime)value).ToUniversalTime().ToString("yyyy'-'MM'-'dd'T'HH':'mm':'ss'.'fff'Z'"); } throw new ArgumentException("Attempt to set property to an unsupported type."); }