Skip to content

Support for weekyear #66

@flomedja

Description

@flomedja

Description

There is no option for the week year representation as in this library .
This package is used by openTelemetry for parsing logstash_format date and in some edge case the weekyear is different from the year. It will be helpful to support the weekyear to update the package in openTelemetry.

I propose to add the options :

  • %G for ISO 8601 year (week-based year)
  • %g for ISO 8601 year (2-digit)

@lestrrat If you are fine with that I can make request.

Thanks

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