Skip to content

Missing support for ISO 8601 date formats #2495

@GisoBartels

Description

@GisoBartels

The following command fails, but works fine on git for Linux and MacOS

$ git show -s --format=%cd --date=format:‘%g.%V’ HEAD
fatal: invalid strftime format: '‘%g.%V’'

$ date +%g.%V
20.05

$ git --version
git version 2.25.0.windows.1

I found a potentially related issue here:
https://stackoverflow.com/questions/42568215/iso-8601-week-number-in-c

Cause could be an outdated MSVCRT.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions