[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [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
Re:  format-dateTime and time zone?
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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2011 All Rights Reserved.