Skip to content

Feature request: When parsing a timestamp, set the time zone to the one given in the timestamp #182

@schaerfo

Description

@schaerfo

E. g., the timestamp 2023-10-27T22:14:00+02:00 should be parsed with the time zone of the resulting TZDateTime object being set to UTC+2. This could likely be implemented as a new static method of TZDateTime that differs from the existing parse method in that it only takes a single argument (the timestamp as String).

This would probably require the introduction of "unnamed" time zones that consist only in an offset from UTC.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions