xsl-list
[Top] [All Lists]

Re: [xsl] format-dateTime and time zone?

2011-07-14 04:00:19
On 14/07/2011 05:01, Birnbaum, David J wrote:
Dear xsl-list,

I'm trying to produce a formatted date with time zone (as a signed numerical 
value). Here's a stripped-down example:


I'm running on Centos 5.5 with the system clock set to UTC:

[djb@obdurodon tmp]$ date
Thu Jul 14 03:54:16 UTC 2011

I thought the xslt would produce "+0000" at the end of the dateTime instead of 
"Z". Is that assumption wrong?


Yes, I'm afraid so. The spec isn't very prescriptive on this. You can find a discussion in gory detail at

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

Michael Kay
Saxonica

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>