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")*/)