W3C home > Mailing lists > Public > public-qt-comments@w3.org > March 2008

[Bug 5308] [XSLT 2.0] Timezone Z in format-dateTime()

From: <bugzilla@wiggum.w3.org>
Date: Thu, 13 Mar 2008 17:41:45 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1JZrR3-0005HK-A5@wiggum.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=5308





------- Comment #1 from alb.w3c@gmail.com  2008-03-13 17:41 -------
Problem statement:

We want to be able to specify that "Z" is to be used instead of
+00:00, but that any other time offset should be presented in its
numeric value.

Some observations on our current text:

a: "Z", instead of "+00:00" should be considered a "name" of a time zone
and thus, potentially,  obtainable by specifying "N" as preentation
modifier. However, all other time offsets would also be presented in
"name" form, e.g. EDT.

b: we can specify a min and max width of the result, but we do not
really say which is preferred, except that that in a "For example, "
that indicates that for names the maximum width should be used.
Thus using [Z,1-6] (width 1 -> "Z", width 6 -> +00:00) does not seem
appropriate.

c: using a specification of [Z,1-1] is also not appropriate as,
for values other than +00:00, it relies on the "last resort" of what
to do if the value does not fit in the width.

It thus seems better to introduce a new presentation modifier,
which needs to express the numeric/name preference AND which
numeric presentation form is to be used (e.g. the offset in Thai digits).
Received on Thursday, 13 March 2008 17:42:20 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:36 UTC