diff --git a/public/assets/tests/form-validation.js b/public/assets/tests/form-validation.js index 71a0bf365..6f3d5b840 100644 --- a/public/assets/tests/form-validation.js +++ b/public/assets/tests/form-validation.js @@ -280,7 +280,7 @@ test( "datetime selector check", function() { // check params currentTime = timeStamp.toISOString() - currentTime = currentTime.replace(/(\d\d\.\d\d\dZ)$/, '00.000Z') + currentTime = currentTime.replace(/(\d\d.\d\d.\d\d\.\d\d\dZ)$/, '07:00:00.000Z') params = App.ControllerForm.params( el ) test_params = { datetime1: currentTime,