life
life copied to clipboard
Suggestion: format dates in ISO 8601
Using ISO 8601 would prevent confusion between US/rest of world date formatting when using the xx/xx/xxxx
format. And you could still use your nice fuzzy matching.
As usual, XKCD speaks the truth:
Would it be possible to add a config setting so that the user can specify the date formatting?
+1
:+1: This would be handy.
A configuration option might be the best option to set how dates are entered and how they are shown (not sure why they'd be different). Could use Moment.JS's parse to make this easy to implement.
Pull request #31 integrates the moment.js library to support "YYYY/MM/DD" date formats. But because of the functionality to allow "1976/04-2011", the format "YYYY-MM-DD" still don't work.