Skip to content

FormatBlock.Date.ISO8601 does not take offset into account #573

@megri

Description

@megri

I just noticed for the first time that my friend outputs the incorrect timestamp.

I'm in UTC+02:00 so at 12:00 UTC my local time is 14:00, and yet this formatter outputs "14:00Z". Basically the offset is not deducted from the timestamp before printing.

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