Subject: Re: format-dateTime and time zone?
From: Michael Kay <mike@xxxxxxxxxxxx>
Date: Thu, 14 Jul 2011 10:00:01 +0100
|
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
|