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

Created on 2019-07-24.00:00:00, last changed 2019-07-28.15:44:55.

Messages

Date: 2019-07-30.16:58:30

Proposed resolution:

This wording is relative to the Post Cologne working draft.

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

    literal-char ::= <a character other than '{' or, '}', or '%'>
    
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
2019-07-28 15:44:55adminsetmessages: + msg10524
2019-07-24 00:00:00admincreate