Skip to content

z format does not match Zulu indicator #360

@bartaelterman

Description

@bartaelterman

Based on the documentation, I would've expected the z time format to match Z indicating the Zulu (UTC) time zone. However, I get:

> library(lubridate)

> fast_strptime("2014-03-12T09:32:44Z", "%Y-%m-%dT%H:%M:%OS%Ou")
[1] "2014-03-12 09:32:44 UTC"

> fast_strptime("2014-03-12T09:32:44Z", "%Y-%m-%dT%H:%M:%OS%z")
[1] NA

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugan unexpected problem or unintended behavior

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions