From 3d08eec0256fec0725e88e3dc1288483df67bb90 Mon Sep 17 00:00:00 2001 From: Koen Reefman Date: Mon, 27 Oct 2025 11:38:39 +0000 Subject: [PATCH] FCLT#90168 Ook voor undefined data/tijden een lege string teruggeven svn path=/Website/branches/v2025.3/; revision=70713 --- APPL/Shared/Shared.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/APPL/Shared/Shared.inc b/APPL/Shared/Shared.inc index 52ab6b4dfd..1a042636f7 100644 --- a/APPL/Shared/Shared.inc +++ b/APPL/Shared/Shared.inc @@ -1475,7 +1475,7 @@ function convertTimeZone(thisDate, fromTZ, toTZ) // Als de jsDate van de user(client) afkomstig is, hoeft er geen conversie naar de user-time-zone plaats te vinden function toTimeString(jsDate, bWithSeconds, isLocalTime) { - if (jsDate===null) + if (jsDate == null) return ""; if (typeof jsDate == "object" && jsDate.type == 135/*adDBTimeStamp, oRs("datum")*/) @@ -1512,7 +1512,7 @@ function toDateString(jsDate, noDay, pretty, isLocalDate) var tomorrow = (new Date(today)); tomorrow.setDate(today.getDate()+1); - if (jsDate===null) + if (jsDate == null) return ""; if (typeof jsDate == "object" && jsDate.type == 135/*adDBTimeStamp, oRs("datum")*/) @@ -1545,7 +1545,7 @@ function toDateString(jsDate, noDay, pretty, isLocalDate) } function toDateTimeString(jsDate, bWithSeconds, noDay, prettyday, noMidnight, isLocalDate) { - if (jsDate===null) + if (jsDate == null) return ""; if (typeof jsDate == "object" && jsDate.type == 135/*adDBTimeStamp, oRs("datum")*/)