]> git.ipfire.org Git - thirdparty/moment.git/commit
Allow arbitrary number of milliseconds in iso format 1213/head
authorIskren Chernev <iskren.chernev@gmail.com>
Thu, 24 Oct 2013 09:09:59 +0000 (02:09 -0700)
committerIskren Chernev <iskren.chernev@gmail.com>
Thu, 24 Oct 2013 09:09:59 +0000 (02:09 -0700)
commit45d57acb039bf186a5be240cb96b684ca36da6a9
treea2657cd9eb7d19d0ee7ea9fa452e6844a6c2d0c3
parent4ffd0a964f45c6eae8b92e184823ac977293c8d2
Allow arbitrary number of milliseconds in iso format

According to the standard (I'm not sure actually), arbitrary number of
subsecond precision digits can be specified. Read all of those and ignore
everything after the third. This makes sure that iso formats actualy consume
the whole string.
moment.js
test/moment/create.js