Home | History | Annotate | Download | only in test

Lines Matching refs:timetup

2277         timetup = Utils.parsedate('5 Feb 2003 13:47:26 -0800')
2278 t = int(time.mktime(timetup))
2279 eq(time.localtime(t)[:6], timetup[:6])
2280 eq(int(time.strftime('%Y', timetup)), 2003)
2281 timetup = Utils.parsedate_tz('5 Feb 2003 13:47:26 -0800')
2282 t = int(time.mktime(timetup[:9]))
2283 eq(time.localtime(t)[:6], timetup[:6])
2284 eq(int(time.strftime('%Y', timetup[:9])), 2003)