Skip to content

strptime fails with double percent format strings #20466

@joemarshall

Description

@joemarshall

strptime("5/1/2020 %z","%m/%d/%Y %%z",&result);

If a double percent is used in strptime, to mean a literal percent, it crashes out.

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