'Technische' datums altijd via toISODateTimeString, zonder tijdzone gedoe

svn path=/Website/trunk/; revision=33085
This commit is contained in:
Jos Groot Lipman
2017-03-08 12:11:10 +00:00
parent d5c1df7bda
commit 09d86ce35a

View File

@@ -426,6 +426,9 @@ function toISODateString(jsDate)
function toISODateTimeString(jsDate)
{
if (typeof jsDate == "number")
jsDate = new Date(jsDate);
if (typeof jsDate == "object" && jsDate.type == 135/*adDBTimeStamp, oRs("datum")*/)
jsDate = new Date(jsDate.value);