-
New Feature
-
Resolution: Done
-
Normal
-
8.6.1
-
None
-
Security Level: Jimmy
-
None
-
ZK 8.6.2 S1, ZK 8.6.2 S2
Steps to Reproduce
run fiddle
http://zkfiddle.org/sample/1iabu9j/4-ZK-datefmt-parse-1900
Current Result
date set as 2030 parses as 1930
date set as 2029 parses as 2029
Expected feature Result
Datebox should have an option to choose if dates formated with yy should parse to 19yy or 20yy (or a combination with a switch date between 19yy and 20yy)
Debug Info
https://github.com/zkoss/zk/blob/master/zul/src/archive/web/js/zul/db/datefmt.js#L239-L242
- relates to
-
ZK-4292 Dates.newInstance() returns an incorrect year when the year is less than 100
- Closed