[XSL-LIST Mailing List Archive Home]
[Reply To This Message]
Re: format-dateTime and time zone?
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:
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
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format