Skip to content

Cannot get timezone names or the abbreviations from globalizer #933

@PavaniYash

Description

@PavaniYash

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions