[Zope] Format problem in Squishdot 1.0.0
   
    bak (kedai)
     
    kedai@kedai.com.my
       
    Wed, 4 Apr 2001 17:41:48 +0800
    
    
  
On Thursday 05 April 2001 17:37, Frank Zorge wrote:
> Still a problem, now it is a :
>
> Error Type: TypeError and Error Value: object can't be converted to int
>
> message.
>
>
> <dtml-var "ZopeTime(date_created)" fmt="%d/%m/%Y">
>
> It's not a string?
>
> Frank
well, i guess not.  i'm out of my league here.  but this is what i found in 
the source
    def date_posted(self,fmstr='%A %B %d, @%I:%M%p'):
        # """ date when article was posted """
        ltime = localtime(self.created)
        return strftime(fmstr,ltime)
maybe you can hardcode it here (Squishdot.py)
-----------8<-------------------
http://www.kedai.com.my/kk
http://www.kedai.com.my/eZine
http://www.zope.org/members/kedai
How can I laugh tomorrow, if i can't even smile today.