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

Time zone abbreviations not translating to French #440

Open
mstaro opened this issue Aug 29, 2017 · 1 comment
Open

Time zone abbreviations not translating to French #440

mstaro opened this issue Aug 29, 2017 · 1 comment
Labels

Comments

@mstaro
Copy link

mstaro commented Aug 29, 2017

Key information

  • Joda-Time version: 2.9.9

Problem description

I'm submitting this as an issue since I haven't found a solution for this problem anywhere. France has translated versions for time zone abbreviations. To name a few English to French translations:

AKST -> HNAK
AKDT -> HEAK
CT -> HC
CST -> HNC
CDT -> HEC
ET -> HE
EST -> HNE

Program

As an example, I'm trying to obtain the translated equivalent for time zone AKDT (America/Anchorage), which should be HEAK:

String tz = DateTimeZone.forID("America/Anchorage").getShortName(DateTimeUtils.currentTimeMillis(), Locale.FRANCE);
// prints AKDT instead of HEAK
System.out.println(tz);

I'm aware that this might be an unsupported feature, so far it seems that only German translations are supported. Would there be any workaround to be able to obtain French translations?

Thanks!

@jodastephen
Copy link
Member

As Joda-Time is being phased out now Java 8 is here, it is unlikely that this request will happen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants