life icon indicating copy to clipboard operation
life copied to clipboard

Suggestion: format dates in ISO 8601

Open nedbaldessin opened this issue 11 years ago • 5 comments

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: xkcd

nedbaldessin avatar Dec 02 '13 15:12 nedbaldessin

Would it be possible to add a config setting so that the user can specify the date formatting?

umazalakain avatar Dec 02 '13 15:12 umazalakain

+1

bmaeser avatar Dec 02 '13 16:12 bmaeser

:+1: This would be handy.

Tanner avatar Dec 03 '13 02:12 Tanner

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.

Tanner avatar Dec 03 '13 20:12 Tanner

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.

FR6 avatar Dec 05 '13 04:12 FR6