Skip to content

Time zones with offsets below -11:59 and above 11:59 are not accepted by the Date class #289

@avandecreme

Description

@avandecreme

The hour offset is checked to be at most 11 here:

getHoursOffset() > 11 ||

This prevent representing some time zones, for example LINT is UTC+14 and AoE is UTC-12.

Would you be interested by a patch fixing this?

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