gr2m / moment-parseformat

A moment.js plugin to extract the format of a date/time string
http://gr2m.github.io/moment-parseformat
Apache License 2.0
45 stars 30 forks source link

today → today #75

Closed abdulkareemnalband closed 6 years ago

abdulkareemnalband commented 6 years ago

moment.parseFormat('today') parsed to today, I expected: moment()

gr2m commented 6 years ago

if your app supports "today" as an input, you’ll have to catch that before passing it to moment.parseFormat(), it’s out of scope of this library, I’m afraid