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-17665 remove beaufort from GenerateUnitTestData.NOT_CONVERTABLE; 17665 #3741

Conversation

pedberg-icu
Copy link
Contributor

CLDR-17665

  • This PR completes the ticket.

Remove beaufort from the NOT_CONVERTABLE list in GenerateUnitTestData since that is no longer correct, then regenerate the unit test data. This regen left alone (as expected) the unitsTest.txt entry for beaufort which had been manually added in PR #3562. It also added entries for 3 new units:

  • night
  • portion-per-1e9
  • light-speed

ALLOW_MANY_COMMITS=true

@pedberg-icu pedberg-icu self-assigned this May 22, 2024
@macchiati
Copy link
Member

Thanks, looks good.

@pedberg-icu pedberg-icu merged commit f2c32c2 into unicode-org:main May 22, 2024
10 checks passed
@pedberg-icu pedberg-icu deleted the CLDR-17665-GenerateUnitTestData-remove-beaufort-from-NOT_CONVERTABLE branch May 22, 2024 21:27
@macchiati
Copy link
Member

BTW, Peter, I was thinking of handling 'generic' in the same way as some other units. That is, create its own Quantity. It would be convertible, but only to itself. That would make the code simpler for us and clients, since everything would have a quantity.

@pedberg-icu
Copy link
Contributor Author

pedberg-icu commented May 22, 2024

BTW, Peter, I was thinking of handling 'generic' in the same way as some other units. That is, create its own Quantity. It would be convertible, but only to itself. That would make the code simpler for us and clients, since everything would have a quantity.

@macchiati That seems like a great idea! Would presumably need an ICU code change?

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