Title
chrono-spec grammar ambiguity in §[time.format]
Status
c++20
Section
[time.format]
Submitter
Victor Zverovich

Created on 2019-07-24.00:00:00 last changed 46 months ago

Messages

Date: 2019-08-17.12:04:51

Proposed resolution:

This wording is relative to N4830.

  1. Modify the literal-char grammar in [time.format] as indicated:

    literal-char:
              any character other than {, or }, or %
    
Date: 2019-08-17.00:00:00

[ 2019-08-17 Issue Prioritization ]

Status to Tentatively Ready and priority to 0 after five positive votes on the reflector.

Date: 2019-07-24.00:00:00

The chrono-spec grammar introduced by P1361R2 "Integration of chrono with text formatting" in section [time.format] is ambiguous because '%' can be interpreted as either literal-char or conversion-spec:

chrono-spec     ::= literal-char | conversion-spec
literal-char    ::= <a character other than '{' or '}'>
conversion-spec ::= '%' [modifier] type
History
Date User Action Args
2021-02-25 10:48:01adminsetstatus: wp -> c++20
2019-11-19 14:48:30adminsetstatus: voting -> wp
2019-10-07 02:48:00adminsetstatus: ready -> voting
2019-08-17 12:04:51adminsetmessages: + msg10556
2019-08-17 12:04:51adminsetstatus: new -> ready
2019-07-28 15:44:55adminsetmessages: + msg10524
2019-07-24 00:00:00admincreate