I have asked the same question in the EXSLT mailing list and the recommendation was to display the time in the time zone that it was specified in. It was also then suggested that functions to perform time zone conversion may be required.
-----Original Message----- From: Foxy Shadis [mailto:[EMAIL PROTECTED] Sent: 28 March 2003 18:52 To: [EMAIL PROTECTED] Subject: Re: format-date() and Time zones 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.xs l 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
