Previously Maurits van Rees wrote:
> 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 Products.CMFCore.interfaces.IDublinCore.
> >
> > 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 no time is set. So the
> > behaviour you see is expected and can not be changed without breaking
> > backwards compatibility.
> 
> Where are you reading that?  Products.CMFCore.interfaces.IDublinCore
> only has some comments:

Look at what interfaces/__init__.py does: it imports the interface from
_content.py. DublincCore.py is a bbb stub.

Wichert.

-- 
Wichert Akkerman <[EMAIL PROTECTED]>    It is simple to make things.
http://www.wiggy.net/                   It is hard to make things simple.
_______________________________________________
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See http://collector.zope.org/CMF for bug reports and feature requests

Reply via email to