FSN#40500 Timezone conversie wat robuuster gemaakt als nog geen timezone bekend is
svn path=/Website/trunk/; revision=33841
This commit is contained in:
@@ -744,7 +744,7 @@ function toServerTimeZone(thisDate)
|
||||
function convertTimeZone(thisDate, fromTZ, toTZ)
|
||||
{
|
||||
|
||||
if (fromTZ == "" || toTZ == "" || fromTZ.toUpperCase() == toTZ.toUpperCase())
|
||||
if (!fromTZ || !toTZ || fromTZ.toUpperCase() == toTZ.toUpperCase())
|
||||
return thisDate;
|
||||
|
||||
var sql = "SELECT CAST ("
|
||||
|
||||
Reference in New Issue
Block a user