RE: [Zope3-dev] Formatting dates

2005-07-21 Thread Garrett Smith
That application of the user's timezone might be done before the datetime is actually generated, or with a datetime.replace (tzinfo=ITZInfo(request)) call. (The immutable nature of strings, datetimes, and other similar types doesn't prevent us from performing operations with them or

Re: [Zope3-dev] Formatting dates

2005-07-21 Thread Fred Drake
On 7/21/05, Garrett Smith [EMAIL PROTECTED] wrote: I guess my question was whether you see the widget handling the setting of the time zone, or the application. My vote would be that the widget deal with this, using adaptation to black box the process of finding the implicit tzinfo

RE: [Zope3-dev] Formatting dates

2005-07-21 Thread Garrett Smith
-Original Message- From: Fred Drake [mailto:[EMAIL PROTECTED] Sent: Thursday, July 21, 2005 12:25 PM To: Garrett Smith Cc: Zope3-Dev (zope3-dev@zope.org) Subject: Re: [Zope3-dev] Formatting dates On 7/21/05, Garrett Smith [EMAIL PROTECTED] wrote: I guess my question

Re: [Zope3-dev] Formatting dates

2005-07-20 Thread Gary Poster
On Jul 19, 2005, at 6:33 PM, Garrett Smith wrote: So this will specifically impact: - The use of date/time formatters - Date/time widgets Anything else? I don't think so. Since datetime values are immutable, I assume you're envisioning that widgets create tz-aware values. With

Re: [Zope3-dev] Formatting dates

2005-07-19 Thread Gary Poster
On Jul 19, 2005, at 12:22 AM, Garrett Smith wrote: Now that dates have UTC time zones associated with them, will we be adjusting how they're displayed in various views? Somehow it doesn't seem appropriate to display UTC by default. I'd assume Zope would use the server's timezone offset.

RE: [Zope3-dev] Formatting dates

2005-07-19 Thread Garrett Smith
'. -Original Message- From: Gary Poster [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 19, 2005 11:47 AM To: Garrett Smith Cc: Zope3-Dev (zope3-dev@zope.org) Subject: Re: [Zope3-dev] Formatting dates On Jul 19, 2005, at 12:22 AM, Garrett Smith wrote: Now that dates have UTC time

[Zope3-dev] Formatting dates

2005-07-18 Thread Garrett Smith
Now that dates have UTC time zones associated with them, will we be adjusting how they're displayed in various views? Somehow it doesn't seem appropriate to display UTC by default. I'd assume Zope would use the server's timezone offset. -- Garrett