purescript-contrib / purescript-formatters

Formatting and printing for numeric and date/time/interval values
Apache License 2.0
41 stars 30 forks source link

fix YearFull parsing #24

Closed safareli closed 7 years ago

safareli commented 7 years ago

continuation of #23

safareli commented 7 years ago

But with this change one can't have YYYYMM together. and moment.js works this way:

moment("00010220", "YYYYMMDD").format('YYYYMMDD') // 00010220

So I think previous version is better.