Skip to content

Fixed unit test is support en_GB locale#3893

Merged
katzyn merged 1 commit intoh2database:masterfrom
tomjshore:fix_am_pm_unit_test
Sep 18, 2023
Merged

Fixed unit test is support en_GB locale#3893
katzyn merged 1 commit intoh2database:masterfrom
tomjshore:fix_am_pm_unit_test

Conversation

@tomjshore
Copy link
Contributor

Fixed a unit test which now supports locale en_GB
The reason for the change is because if you locale is set to en_GB the time format will have am/pm in lowercase. Where as if your locale is en_US AM/PM is in uppercase.

I wrote the code, it's mine, and I'm contributing it to H2 for distribution multiple-licensed under the MPL 2.0, and the EPL 1.0 (https://h2database.com/html/license.html).

@katzyn katzyn merged commit 12b314d into h2database:master Sep 18, 2023
@katzyn
Copy link
Contributor

katzyn commented Sep 18, 2023

Thanks!

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