CLDR-19662 Fix ordinal dates - #6014
Conversation
|
I think the work is mostly done, but will have to get the tests to pass. |
|
JFY: Waiting to review this until it passes all tests |
|
This is disturbing; all the tests pass locally for me. Will have to track down. |
|
Hmmm. I can't reproduce the test failures locally; I'll have some time later this afternoon. However, I think what I'll do for dates is add the pattern that the spec algorithm would produce (if any), and if that succeeds, count it as covered. |
Your branch is 8 commits behind main. e38dbeb That could be related. The |
|
@macchiati fails for me locally also, even without an update. were you running -e10? |
|
Ah, that must be the problem! |
Realized that 1. en was missing a couple of items 2. or and hy really weren't using any ddd in patterns, so removed.
| <dateFormatItem id="GyMEd">G dd.MM.y, E</dateFormatItem> | ||
| <dateFormatItem id="GyMMM">G y թ. MMM</dateFormatItem> | ||
| <dateFormatItem id="GyMMMd">G y թ․ MMM d</dateFormatItem> | ||
| <dateFormatItem id="GyMMMddd">G y թ․ MMM d</dateFormatItem> |
There was a problem hiding this comment.
Should this be an error? Or is it just an OK fallback?
Are you removing a “vote for constructed” essentially?
just trying to understand
| </dateTimeFormats> | ||
| </calendar> | ||
| <calendar type="generic"> | ||
| <dayOfMonths> |
There was a problem hiding this comment.
Was this also an error for them to enter? Or fallback behavior?
srl295
left a comment
There was a problem hiding this comment.
Looks good but have questions.
CLDR-19662
Adds tooling to figure out what to do
Removes paths with /dayOfMonth and ddd from locales (but not en|en_AU|en_CA|en_GB|en_IN|fr|fr_CA|hy|ka|mk|or|tk|uk)
Adds modifications to coverageLevels.xml for coverage, and a small bit of syntax to allow for much simpler rules.
Also checks in modify_config.txt, for a paper trail.
tools/cldr-code/src/main/java/org/unicode/cldr/tool/CLDRConfigFileFilter.java
Modifications in other code files were all about getting coverage to work better.
This PR completes the ticket.
ALLOW_MANY_COMMITS=true