> From: David Marston/Cambridge/IBM [mailto:[EMAIL PROTECTED]
>
> But what does that mean? More exactly, what do you do when
> the data has its own time-zone value, and when it doesn't?
> .................David Marston
>
>
Below is the text from the original email. The main gist of it is that
the actual value of the original time should not be adjusted.
My preference would be that if a timezone is specified in the date/time
then format-date() should format according to that timezone. For
example:
date:format-date('2003-03-27T14:22:12+01:00',
'kk:mm Z')
should give:
'14:22 +0100'
If a date/time that doesn't have a timezone is formatted, on the other
hand, I think that we should assume the local time zone. So if you
have:
date:format-date('2003-03-27T14:22:12',
'kk:mm Z')
and the local timezone is GMT-8:00 then you would get:
'14:22 -0800'
Either way, my feeling is that the date/time itself shouldn't get
adjusted. We should maybe have other functions that adjust the date/time
to a particular timezone...