(future=0, weekdayname=_weekdayname, monthname=_monthname)
| 235 | 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'] |
| 236 | |
| 237 | def _getdate(future=0, weekdayname=_weekdayname, monthname=_monthname): |
| 238 | from time import gmtime, time |
| 239 | now = time() |
| 240 | year, month, day, hh, mm, ss, wd, y, z = gmtime(now + future) |
| 241 | return "%s, %02d %3s %4d %02d:%02d:%02d GMT" % \ |
| 242 | (weekdayname[wd], day, monthname[month], year, hh, mm, ss) |
| 243 | |
| 244 | |
| 245 | class Morsel(dict): |
no test coverage detected
searching dependent graphs…