'Technische' datums altijd via toDateTimeString, zonder tijdzone gedoe

svn path=/Website/trunk/; revision=33030
This commit is contained in:
Jos Groot Lipman
2017-03-03 16:30:40 +00:00
parent f1e42fcc4f
commit ec8faea02b

View File

@@ -66,7 +66,7 @@ settings =
FCLTHeader.testTemplateCssRefresh();
return; // Cache is verder vers genoeg
}
__DoLog("Forced settings cache reload. Cache was loaded " + toDateTimeString(lastCache, true) + ", last setting is " + toDateTimeString(max_date, true), "#ffff00");
__DoLog("Forced settings cache reload. Cache was loaded " + toISODateTimeString(lastCache, true) + ", last setting is " + toISODateTimeString(max_date, true), "#ffff00");
}
Application.Lock();
@@ -105,7 +105,7 @@ settings =
Application("SET_" + customerId + "_DB_LANG") = oRs("fac_version_lang").Value;
oRs.Close();
Application("SET_" + customerId) = toDateTimeString(new Date());
Application("SET_" + customerId) = toISODateTimeString(new Date());
Application("SET_TM_" + customerId) = new Date().getTime();
var sql = "SELECT MAX(adm_tracking_date)"
+ " FROM adm_tracking"
@@ -189,7 +189,7 @@ settings =
var oRs = Oracle.Execute(sql);
if (!oRs.Eof)
{
__DoLog("FAC_SET.SRC was last loaded " + toDateTimeString(oRs(0).Value));
__DoLog("FAC_SET.SRC was last loaded " + toISODateTimeString(oRs(0).Value));
}
oRs.Close()
eval("INTERNAL_ERROR_MISSING_SETTING_"+s);