]> git.ipfire.org Git - thirdparty/moment.git/commit
add support to parse `Do` #1475 1475/head
authorGregor Martynus <gregor@martynus.net>
Tue, 11 Feb 2014 13:48:10 +0000 (14:48 +0100)
committerGregor Martynus <gregor@martynus.net>
Sat, 22 Feb 2014 22:49:29 +0000 (23:49 +0100)
commit742ba1e308d785eda289c1741587709845bb2291
tree6a82365b06159c969a87f98127da557518ee0254
parentaa0cbf9470c0858c1f260f9e8bc061b76231fc53
add support to parse `Do` #1475

```
moment('May 6th', 'MMMM Do').format('MMMM Do')
// before => May 1st
// after => May 6th
```

To assure that the patch is working as expected, a temporary
test file has been added. It can still be found at
https://gist.github.com/gr2m/3c56d1ff91bec49f547c
moment.js