Skip to content

P3148 R1 Formatting of chrono Time Values #1799

@wg21bot

Description

@wg21bot
Collaborator

P3148R0 Formatting of chrono Time Values (Alan Talbot)

Activity

added this to the 2024-telecon milestone on Feb 16, 2024
added
B2 - improvementBucket 2 as described by P0592: bug fixes, performance improvements, integration fixes for/between e
ISShip vehicle: IS
C++26Targeted at C++26
on Feb 16, 2024
added
scheduled-for-library-evolutionThis paper has been scheduled for one of the groups: LEWG, LEWG Incubator, or a Mailing List review
on Feb 16, 2024
inbal2l

inbal2l commented on Nov 22, 2024

@inbal2l
Member

2023-12-20 Library Evolution Telecon

P3148R0 Formatting of chrono Time Values

2023-12-19 Library Evolution Telecon Minutes

Champion: Alen Talbot

Chair: Inbal Levi

Minute Taker: Ben Craig

Summary

POLL: We would like the author to come back with a revision exploring the non-breaking change (use “%.0s”, “%.0S”, “%.0T”) proposed in P2945R0

SF F N A SA
4 8 3 0 0

Attendance: 18

# of Authors: 1

Author Position: SF

Outcome: Strong consensus in favor

POLL: We support applying the breaking change against C++20 and C++23 (repurpose "%S", "%T") proposed in P2945R0

SF F N A SA
0 1 0 4 8

Attendance: 18

# of Authors: 1

Author Position: Abstain

Outcome: Consensus against

WF: The 99% option with seconds as two digits, lots of code to be written, shouldn't be afraid of breaking changes. I don't think this is the most important change, so only WF.

Conclusion:
The format specifiers were supported, but there were concerns about the breaking option and requests for more exploration of the potential issues that may come up.
No consensus for the breaking change, the room would like to see an additional revision of the paper with an exploration of the non-breaking change. Alan Talbot volunteered to assist with the new revision.
The usage of %f brought up concerns from the author of ::fmt, author to provide a revision with:

  • Proposing the non-breaking change
  • Addresses the concerns which came up in regards to %f
  • Please make sure the author of P3015 and the implementor of ::fmt give feedback on the new revision before coming back to LEWG

From last meeting: Needs a feature test macro

Next Steps

Author to come back to LEWG with R1 with the non-breaking change (make sure to capture and address concerns regarding usage of %f from ::fmt author).

inbal2l

inbal2l commented on Nov 22, 2024

@inbal2l
Member

2024-11-18 Library Evolution Wroclaw Meeting

P3148R0 Formatting of chrono Time Values

2024-11-18 Library Evolution Wroclaw Meeting Minutes

Champion: Alan Talbot
Chair: Inbal Levi / Fabio Fracassi
Minute Taker: Robert Leahy

Summary

POLL: We see the need for additional time_point specifiers along the lines of what is described in [P2945R1] or [P3148R0]

SF F N A SA
5 9 2 2 0

Attendance: 17 (IP) + 5(R)
Author's Position: SF
Outcome: Consensus in favor

A: I believe that the motivation is very weak. In general I'm not against adding more specifiers but need sufficient motivation.

A: An libc++ implementor, I don’t see enough motivation
POLL: We see the need for defining precision on time_point specifiers along the lines of what is described in [P2945R1] or [P3148R0]

SF F N A SA
8 9 1 1 0

Attendance: 17 (IP) + 5(R)
Author's Position: SF
Outcome: Consensus in favor

A: I think that both papers address it in the wrong way but can be fixed in the current wording and may write a paper

Next Steps

Both the need for additional time_point specifiers and the need for precision got supported.
During the next LEWG meeting, we will go over each of the specifiers and consider which we would like to add.

inbal2l

inbal2l commented on Dec 6, 2024

@inbal2l
Member

Related to P2945.

wg21bot

wg21bot commented on Jan 14, 2025

@wg21bot
CollaboratorAuthor

P3148R1 Formatting of chrono Time Values (Alan Talbot)

changed the title [-]P3148 R0 Formatting of chrono Time Values[/-] [+]P3148 R1 Formatting of chrono Time Values[/+] on Jan 14, 2025
added
C++29Targeted at C++29
and removed
C++26Targeted at C++26
on Mar 16, 2025
added
unclear-statusThe status of this paper is unclear, people have been contacted to help figure it out
on Jun 11, 2025
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

    B2 - improvementBucket 2 as described by P0592: bug fixes, performance improvements, integration fixes for/between eC++29Targeted at C++29ISShip vehicle: ISLEWGLibrary Evolutionformatready-for-library-evolution-meeting-reviewThis paper needs to be discussed at a Library Evolution meetingscheduled-for-library-evolutionThis paper has been scheduled for one of the groups: LEWG, LEWG Incubator, or a Mailing List reviewsize - mediumpaper size estimateunclear-statusThe status of this paper is unclear, people have been contacted to help figure it out

    Type

    No type

    Projects

    Status

    No status

    Status

    No status

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @inbal2l@jensmaurer@wg21bot

        Issue actions

          P3148 R1 Formatting of chrono Time Values · Issue #1799 · cplusplus/papers