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

Cannot get timezone names or the abbreviations from globalizer #933

Open
PavaniYash opened this issue Oct 5, 2022 · 0 comments
Open

Cannot get timezone names or the abbreviations from globalizer #933

PavaniYash opened this issue Oct 5, 2022 · 0 comments

Comments

@PavaniYash
Copy link

Hi,

Is there any way to get timezone names and abbreviations from the globalize library? As per the comment - [https://github.com//issues/673#issuecomment-309430240] globalize support this.

Current values returned by executing the above statements are as follows.

Globalize.dateFormatter({ datetime: "full", timeZone: "Europe/Berlin" })( new Date() )

'Wednesday, October 5, 2022 at 4:16:54 PM GMT+02:00'
// Expected to return "Monday, November 1, 2010 at 8:55:00 PM Central European Standard Time"

Globalize.dateFormatter({ raw: 'z', timeZone: "Europe/Berlin" })( new Date() )

'GMT+2'
//Expected to return "EST"

Is this a bug and any plans to fix these?

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

No branches or pull requests

1 participant