Show More
@@ -109,10 +109,7 b' class templater:' | |||||
109 | return template(tmpl, self.filters, **map) |
|
109 | return template(tmpl, self.filters, **map) | |
110 |
|
110 | |||
111 | def rfc822date(x): |
|
111 | def rfc822date(x): | |
112 | month= [None,"Jan", "Feb", "Mar", "Apr", "May", "Jun", |
|
112 | return strftime("%a, %d %b %Y %H:%M:%S +0000", time.gmtime(x)) | |
113 | "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"] |
|
|||
114 | yyyy,mon,dd,hh,mm,ss,wd,x,y = time.gmtime(x) |
|
|||
115 | return "%d %s %d %d:%d:%d"%(dd, month[mon], yyyy, hh, mm, ss) |
|
|||
116 |
|
113 | |||
117 | class hgweb: |
|
114 | class hgweb: | |
118 | maxchanges = 10 |
|
115 | maxchanges = 10 |
General Comments 0
You need to be logged in to leave comments.
Login now