From 324ae8ac05e6229fb90e7229c680f031f94d3f73 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Wed, 11 Aug 2021 17:20:22 +0000 Subject: [PATCH] --- source/Plugins/AyaNova.Plugin.V8/V8.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source/Plugins/AyaNova.Plugin.V8/V8.cs b/source/Plugins/AyaNova.Plugin.V8/V8.cs index d8cd108..b2bc97d 100644 --- a/source/Plugins/AyaNova.Plugin.V8/V8.cs +++ b/source/Plugins/AyaNova.Plugin.V8/V8.cs @@ -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();