FCLT#90168 Ook voor undefined data/tijden een lege string teruggeven
svn path=/Website/branches/v2025.3/; revision=70713
This commit is contained in:
@@ -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
|
// 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)
|
function toTimeString(jsDate, bWithSeconds, isLocalTime)
|
||||||
{
|
{
|
||||||
if (jsDate===null)
|
if (jsDate == null)
|
||||||
return "";
|
return "";
|
||||||
|
|
||||||
if (typeof jsDate == "object" && jsDate.type == 135/*adDBTimeStamp, oRs("datum")*/)
|
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));
|
var tomorrow = (new Date(today));
|
||||||
tomorrow.setDate(today.getDate()+1);
|
tomorrow.setDate(today.getDate()+1);
|
||||||
|
|
||||||
if (jsDate===null)
|
if (jsDate == null)
|
||||||
return "";
|
return "";
|
||||||
|
|
||||||
if (typeof jsDate == "object" && jsDate.type == 135/*adDBTimeStamp, oRs("datum")*/)
|
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)
|
function toDateTimeString(jsDate, bWithSeconds, noDay, prettyday, noMidnight, isLocalDate)
|
||||||
{
|
{
|
||||||
if (jsDate===null)
|
if (jsDate == null)
|
||||||
return "";
|
return "";
|
||||||
|
|
||||||
if (typeof jsDate == "object" && jsDate.type == 135/*adDBTimeStamp, oRs("datum")*/)
|
if (typeof jsDate == "object" && jsDate.type == 135/*adDBTimeStamp, oRs("datum")*/)
|
||||||
|
|||||||
Reference in New Issue
Block a user