[Zope-CMF] Re: Effective Date inconsistencies

2007-06-24 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alexander Limi wrote: On Sat, 23 Jun 2007 08:15:02 -0700, Wichert Akkerman [EMAIL PROTECTED] wrote: Previously Laurence Rowe wrote: How about changing EffectiveDate to: return ed and ed.toZone(zone).ISO() or '' from the existing

[Zope-CMF] Re: Effective Date inconsistencies

2007-06-24 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alexander Limi wrote: On Sun, 24 Jun 2007 06:33:28 -0700, Tres Seaver [EMAIL PROTECTED] wrote: - -1: anybody who is using the string representations for comparison is mising the point: those values are display only. they should be using

[Zope-CMF] Re: Effective Date inconsistencies

2007-06-23 Thread Maurits van Rees
Wichert Akkerman, on 2007-06-23: Previously Maurits van Rees wrote: Wichert Akkerman, on 2007-06-23: I misread the interface; that only specified what should happen if no timezone is given. The interface says that the method should return a string which corresponds to the time or None if

[Zope-CMF] Re: Effective Date inconsistencies

2007-06-23 Thread Laurence Rowe
Maurits van Rees wrote: Wichert Akkerman, on 2007-06-23: Previously Maurits van Rees wrote: Wichert Akkerman, on 2007-06-23: I misread the interface; that only specified what should happen if no timezone is given. The interface says that the method should return a string which corresponds to

[Zope-CMF] Re: Effective Date inconsistencies

2007-06-23 Thread Maurits van Rees
Wichert Akkerman, on 2007-06-23: Previously Wichert Akkerman wrote: Previously Alexander Limi wrote: Not so: - EffectiveDate returns a *string* 'None' when it has no value (wtf?) That is wrong: it should return 'the time in the system default timezone' as documented in T