diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..55820e2c3860 --- /dev/null +++ b/.gitignore @@ -0,0 +1,9 @@ +*.suo +obj +bin +*.csproj.user +*.pidb +*.userprefs +*~HEAD +.DS_Store + diff --git a/Amazon.Runtime/Internal/Transform/SimpleTypeUnmarhaller.cs b/Amazon.Runtime/Internal/Transform/SimpleTypeUnmarhaller.cs index daeaeaadd8eb..44fa077bb9c1 100644 --- a/Amazon.Runtime/Internal/Transform/SimpleTypeUnmarhaller.cs +++ b/Amazon.Runtime/Internal/Transform/SimpleTypeUnmarhaller.cs @@ -235,7 +235,7 @@ public DateTime Unmarshall(JsonUnmarshallerContext context) { DateTime ret; Double seconds; - if (Double.TryParse(context.ReadText(), NumberStyles.Any, CultureInfo.InvariantCulture, out seconds)) + if (Double.TryParse(context.ReadText(), out seconds)) { ret = new DateTime(1970, 1, 1, 0, 0, 0, 0, DateTimeKind.Utc); ret = ret.AddSeconds(seconds);