Skip to content

Keep local time #49

@armpogart

Description

@armpogart

Is there a way to initialize TZDate with specific timezone without converting the date, so that it assumes that the date and time is already correct, and just sets the timezone.

moment-timezone has such thing when doing:

moment().tz('US/Pacific', true);

Second argument tells it to keep local time and just set timezone.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Inbox

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions