Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dateFormat parsing support y/M/d #154

Open
PascalSoftwares opened this issue Jan 12, 2025 · 0 comments
Open

dateFormat parsing support y/M/d #154

PascalSoftwares opened this issue Jan 12, 2025 · 0 comments

Comments

@PascalSoftwares
Copy link

According to the Document and tests from the live meridiem site, dateFormat: tag only decides whether M/d/y or d/M/y format.

In my culture people use Year/Month/Day format, so it was a little shame that format parsing does not support like:
2031/11/19 - 2099/08/04 (just the y/M/d transposition of current M/d/y format)
or
2031/11/19 ~ 2099/08/04 (you may see its strange, but using '~' as a 'range sign' is pretty popular in Asian countries)

I hope someday dateFormat would support at least yMd sequencing..

p.s) And I also found that the degree of freedom in formatting was a little bit inconsistent:
[o] 2031-11-19T01:35:10Z-2099-08-04T18:22:48Z
[x] 2031-11-19-2099-08-04
[o] 2031-11-19/2099-08-04

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant