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

CLDR-10772 ST examples for month names, in appropriate format #3734

Conversation

pedberg-icu
Copy link
Contributor

CLDR-10772

  • This PR completes the ticket.

Add ST examples for month names showing them in appropriate context: format months in a format with day number (currently winning format for skeleton yMMMMd), and stand-alone months in a format without (currently winning format for skeleton yMMMM)

ALLOW_MANY_COMMITS=true

@pedberg-icu
Copy link
Contributor Author

Once this is approved and tests pass, any TC member should feel free to merge so we can also review in smoketest.

Comment on lines +1118 to +1123
String checkPath =
"//ldml/dates/calendars/calendar[@type=\""
+ calendarId
+ "\"]/dateTimeFormats/availableFormats/dateFormatItem[@id=\""
+ skeletons[skeletonIndex]
+ "\"]";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if we should have an XPathParts Builder designed for constructing XPaths in a loop with syntax checking (i.e. that the xpath remains valid).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How many places would we use something like that?

@pedberg-icu pedberg-icu merged commit 2f9cdc2 into unicode-org:main May 21, 2024
10 checks passed
@pedberg-icu pedberg-icu deleted the CLDR-10772-examples-showing-months-in-context branch May 21, 2024 18:08
@pedberg-icu
Copy link
Contributor Author

Looks good in smoketest too.

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

Successfully merging this pull request may close these issues.

2 participants