AADS#56206 XMLtoJsDate tijdzone test eerst string trimmen

svn path=/Website/branches/v2018.2/; revision=40618
This commit is contained in:
Jos Groot Lipman
2019-01-22 08:28:16 +00:00
parent b7c472c455
commit 4781b23fce

View File

@@ -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);