Home | History | Annotate | Download | only in test

Lines Matching refs:timetup

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