Bios-Marcel / baka

My stupid personal financial management
BSD 3-Clause "New" or "Revised" License
1 stars 2 forks source link

Locale not applied correctly #21

Open Bios-Marcel opened 1 month ago

Bios-Marcel commented 1 month ago

For some reason, specific locales, such as the ones for dates and currency, seem to be incorrect.

I am running Windows with an english language pack, but german formats for number, date, currency and so on.

Java does have support for this, but for some reason this isn't being supplied correctly. This did not happen with maven, so it seems to be somehow related to gradle / the gradle script.

The locales are present in the given JDK, confirmed via Locale.getAvailableLocales().

The same works correctly in jshell however:

jshell> Locale.getDefault(Locale.Category.FORMAT)
$1 ==> de_DE