]> git.ipfire.org Git - thirdparty/moment.git/commit
Removed a failing iso-format parsing test 1183/head
authorIskren Chernev <iskren.chernev@gmail.com>
Mon, 14 Oct 2013 07:01:42 +0000 (00:01 -0700)
committerIskren Chernev <iskren.chernev@gmail.com>
Mon, 14 Oct 2013 07:01:42 +0000 (00:01 -0700)
commit81255466c2f5b646b27e4b5b7a2898b325a06a85
tree460fc01e8b5fb1e3afb61b0cd5c399ed86661c6a
parent479b650557d8a5ce2ac64ccfec0df5bd2f5e098b
Removed a failing iso-format parsing test

One of the things that is broken on Android is "including a trailing UTC in the
input should work", which is a test added a long time ago, that used the fact
that ISO format matched beginning of string.

So right now this test goes through Date, which is different on regular vs
mobile browser. Also adding UTC at the end doesn't make it parse a UTC date, so
its misleading to say the least.

I think removing the test makes the most sense in this case. The behavior (of
adding UTC at the end is not documented, so shouldn't break legitimate code).
test/moment/create.js