From 6f9167a942d64ace6878bf9b7436d31a9408d6a4 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Mon, 3 Feb 2020 19:08:50 +0000 Subject: [PATCH] --- util.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/util.cs b/util.cs index 889ba08..ac7b9f1 100644 --- a/util.cs +++ b/util.cs @@ -10,12 +10,13 @@ namespace raven_integration { public static class TimeZoneAdjustmentExtension { + //####################################################################################################### public static DateTime ToOffsetAdjustedUniversalTime(this DateTime dtIn) { //Date filtering tests MUST use a relative time zone adjusted to users's forced user options time zone //or the tests that cross dst / pst boundaries will fail //See servers spec doc core-locale-currency-numbers-time-and-dates.txt for details - double TIME_ZONE_ADJUSTMENT = -8; + double TIME_ZONE_ADJUSTMENT = -8;// <---=== SET THIS TO SAME AS GENERATED DATA OFFSET AT SERVER Double TimeZoneAdjustment = (TIME_ZONE_ADJUSTMENT) * -1; return dtIn.AddHours(TimeZoneAdjustment).ToUniversalTime(); @@ -27,9 +28,8 @@ namespace raven_integration //####################################################################################################### public static string API_BASE_URL = "http://localhost:7575/api/v8/"; // public static string API_BASE_URL = "https://test.helloayanova.com/api/v8.0/"; + public static string TEST_DATA_FOLDER = @"..\..\..\testdata\"; - - //#######################################################################################################