Lines Matching refs:strftime
132 self.assertEqual('0000-01-01', util.extended_date(0, 1, 1).strftime('%Y-%m-%d'))
133 … self.assertEqual('Sat Saturday Jan January', util.extended_date(0, 1, 1).strftime('%a %A %b %B'))
134 …self.assertEqual('Tue Tuesday Feb February 29', util.extended_date(0, 2, 29).strftime('%a %A %b %B…
136 self.assertEqual('01/01/00 00:00:00', util.extended_date(0, 1, 1).strftime('%c'))
138 self.assertEqual('Sat Jan 1 00:00:00 0000', util.extended_date(0, 1, 1).strftime('%c'))
139 self.assertEqual('01/01/00', util.extended_date(0, 1, 1).strftime('%x'))
177 …self.assertEqual('0000-01-01 00:00:00', util.extended_datetime(0, 1, 1).strftime('%Y-%m-%d %H:%M:%…
178 …self.assertEqual('Sat Saturday Jan January', util.extended_datetime(0, 1, 1).strftime('%a %A %b %B…
179 …self.assertEqual('Tue Tuesday Feb February 29', util.extended_datetime(0, 2, 29).strftime('%a %A %…
181 self.assertEqual('01/01/00 00:00:00', util.extended_datetime(0, 1, 1).strftime('%c'))
183 … self.assertEqual('Sat Jan 1 00:00:00 0000', util.extended_datetime(0, 1, 1).strftime('%c'))
184 self.assertEqual('01/01/00', util.extended_datetime(0, 1, 1).strftime('%x'))
185 self.assertEqual('%Y', util.extended_datetime(0, 1, 1).strftime('%%Y'))