Changeset 108
- Timestamp:
- 04/25/08 22:09:50 (7 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/tracforums/orm.py
r107 r108 1 1 import os 2 2 import exceptions 3 from time import strftime, gmtime, time 3 4 from inspect import isfunction 4 5 from trac.mimeview import * … … 163 164 @staticmethod 164 165 def datetime(formatContext,value): 165 return formatContext.epochToDateTime(value)166 return strftime("%a, %d %b %Y %H:%M:%S", gmtime(value)) 166 167 167 168 @staticmethod trunk/tracforums/templates/tracforums/main/recent_rss.cs
r107 r108 19 19 <item> 20 20 <category domain="<?cs var:base_host ?><?cs var:trac.href.forums?>">Topic</category> 21 <!-- TODO: pubdate still not RFC 822 compliant -->22 21 <pubDate><?cs var:topic.recentpost.modifiedhtml?></pubDate> 23 22 <title><?cs var:topic.subject?></title>
