Skip to content

Time.Format() local time zone in gopherjs does not match golang #923

Closed
@nathanhack

Description

@nathanhack

Hi, I was using time and needed the short form of the time zone.
But it seems that gopherjs only does the long form.

What happened:
https://gopherjs.github.io/playground/#/8x_apJ2hLw

What I expected:
https://play.golang.org/p/6MlgfsMJ18W

I looked through the issues and I looked at the Gotchas but didn't see anything there. Maybe this is a known thing?

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