Closed darlesson closed 9 years ago
05/07/2015 12:20:15 UTC
gets parsed to MM/DD/YYYY H:mm:ss UTC
which looks good to me?
No idea what format.replace
is :)
Reviewing the errors I was getting, the correct message is "TypeError: 'undefined' is not a function (evaluating 'replaceEndian.bind(null, options)')".
I am using QUnit and running PhantomJS to test proper date format. What happens is that PhantomJS doesn't have Function.prototype.bind.
Yes, that is a known PhantomJS but though. You have to add a .bind polyfill, or use PhantomJS 2.0
s/but/bug
I added an extension for bind. I will close as is.
format.replace(regexFillingWords, '[$1]'))
format.replace is not a function.