W3C home > Mailing lists > Public > public-qt-comments@w3.org > May 2015

[Bug 28589] [QT3] format-time-018 with width modifier expects non-shortened outcome

From: <bugzilla@jessica.w3.org>
Date: Wed, 06 May 2015 02:04:53 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-28589-523-fZomyDCKLs@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=28589

--- Comment #3 from Abel Braaksma <abel.braaksma@xs4all.nl> ---
The section on width mentions for max-width the special cases, like Nn and the
year component. Other cases are not considered special, as long as the value is
not changed by that truncation.

For min-width, there is a special case, and that's probably why it was included
in the section on min-width.

I think it makes sense that if min-width applies, that max-width applies as
well.

But then there is still room for license, because the text allows Tues and Fri,
it seems reasonable that both "GMT-05" and "GMT-5" are legal with width 2-6 and
2-5 (but not with 6-6). Or should the widest unpadded value be taken that is
allowed by the width-modifier?

We could add a rule that says that when the TZ component is requested, that the
TZ name, if required, may not be omitted beyond its shortest requested form,
i.e., CT, CLT, CLST all denote Chile Standard Time, UTC+04:00.

I doubt anyone would want that kind of expressive freedom though. For me,
simply truncating as the text appears to allow, seems more than enough.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Wednesday, 6 May 2015 02:04:56 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 6 May 2015 02:04:56 UTC