[Zope] dictionary entries keyed by date - get()
Chris Withers
chris at simplistix.co.uk
Fri Feb 11 07:22:05 EST 2005
David Siedband wrote:
> <dtml-in "myEvents.get(date.Date(), None)" mapping>
> <dtml-in "myEvents.get(date, None)" mapping>
> <dtml-in "myEvents.get(date)" mapping>
try:
<dtml-var "repr(myEvents.keys())" html_quote>
<dtml-var "repr((date.Date(),date))" html_quote>
That should show you what the keys are and what your date is, which
should give you a clue...
cheers,
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
More information about the Zope
mailing list