Skip to content

[C++] C++20: use standard calendar / timezone APIs #48593

Closed

Description

@pitrou

Describe the enhancement requested

C++20 finally defines standard APIs for calendar dates and timezones: https://en.cppreference.com/w/cpp/chrono.html#Time_zone

However, some old gcc and clang versions that we might need to support don't support these APIs in full.

So we would need to still our date backport on these compilers.

The main point of doing this would be to (hopefully!) use the system-provided timezone automatically on Windows, while the user currently needs to install a timezone databases themselves.

Component(s)

C++

Activity

  1. pitrou commented on Dec 18, 2025

    @pitrou
    MemberAuthor
  2. rok commented on Dec 19, 2025

    @rok
    Member

    Getting rid of windows workarounds would be great indeed. I'll take a look asap.

  3. added 2 commits that reference this issue on Feb 9, 2026
  4. added a commit that references this issue on Mar 3, 2026
  5. added this to the 24.0.0 milestone on Mar 3, 2026
  6. raulcd commented on Mar 3, 2026

    @raulcd
    Member

    Issue resolved by pull request 48601
    #48601

  7. added a commit that references this issue on Apr 6, 2026
  8. added a commit that references this issue on May 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions