AADS#56206 XMLtoJsDate tijdzone test eerst string trimmen
svn path=/Website/branches/v2018.2/; revision=40618
This commit is contained in:
@@ -327,6 +327,7 @@ function xmlToJson(xml)
|
||||
// Luie oplossing: Oracle kan dit simpeler dan JavaScript.
|
||||
function XMLtoJsDate(xmlDate)
|
||||
{
|
||||
xmlDate = xmlDate.replace(/^\s+|\s+$/g,""); // trim spaties
|
||||
if (xmlDate.length > 20) // with offset
|
||||
{
|
||||
var offset = xmlDate.slice(-6);
|
||||
|
||||
Reference in New Issue
Block a user