This commit is contained in:
2021-08-11 17:20:22 +00:00
parent 4233035416
commit 324ae8ac05

View File

@@ -3565,10 +3565,13 @@ namespace AyaNova.PlugIn.V8
if (DateTime.TryParse(s, out dt))
{
s = dt.ToUniversalTime().ToString("s");
if (!string.IsNullOrWhiteSpace(s))
s = s + ".000Z";//Note the .00z forces to utc so server recognizes that, this is the simple way to accomplish it
}
}
if (!string.IsNullOrWhiteSpace(s))
d["c" + (x + 1).ToString()] = s+".000Z";//Note the .00z forces to utc so server recognizes that, this is the simple way to accomplish it
d["c" + (x + 1).ToString()] = s;
}
return d.ToString();