Skip to content

Glibc extensions no longer supported in std::tm formatter #2811

Description

@euclio

In short, this assertion (using the make_hour function from the chrono tests) passes in 8.0.1 but fails in 8.1.0.

EXPECT_EQ("8", fmt::format("{:%-I}", make_hour(8)));

According to git bisect, this regressed in 7911d8d.

Seems like this might be expected breakage given the goal of #2544, but the documentation claims that the code uses the format specifiers from the system's strftime, which is no longer the case.

cc Alexays/Waybar#1447

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions