markwhen icon indicating copy to clipboard operation
markwhen copied to clipboard

dateFormat parsing support y/M/d

Open PascalSoftwares opened this issue 1 year ago • 0 comments

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

PascalSoftwares avatar Jan 12 '25 13:01 PascalSoftwares