Their reference implementation of hour-in-day() appears to simply ignore the time zone after testing for it. See http://exslt.org/date/functions/hour-in-day/date.hour-in-day.template.xsl

For minimized confusion, there should be some way to format hours either into current TZ (or any), or just displaying the date as written. You might wish to email them and ask if they considered that, because it could be quite important in a production environment.

Foxy

Swiftpaw Foxyshadis, wildlife artist
[EMAIL PROTECTED] | http://foxyshadis.dyndns.org/




From: "Helg Bredow" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: <[EMAIL PROTECTED]>
Subject: format-date() and Time zones
Date: Fri, 28 Mar 2003 11:09:09 -0000

While working on the implementation of format-date() I've realized that
I'm not handling time zones. The documentation for the function at
exslt.org doesn't have anything to say about what time zone the
formatted date should be displayed in.

E.g. if the date to be formatted is '2003-03-27T14:22:12Z' and the
system (local) time zone is say GMT-8:00 should the formatted time be
14:22 or 8:22?

Does anyone know anything about this?


_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail




Reply via email to