Removed nonstandard strftime formats (strftime is tested more

extensively in test_strftime.py anyway).
This commit is contained in:
Guido van Rossum 1997-02-20 16:23:01 +00:00
parent eea9ab723d
commit ad183bbfe6
1 changed files with 2 additions and 2 deletions

View File

@ -13,8 +13,8 @@ if int(time.mktime(time.localtime(t))) <> int(t):
time.sleep(1.2)
tt = time.gmtime(t)
for directive in ('a', 'A', 'b', 'B', 'c', 'd', 'E', 'H', 'I',
'j', 'm', 'M', 'n', 'N', 'o', 'p', 'S', 't',
for directive in ('a', 'A', 'b', 'B', 'c', 'd', 'H', 'I',
'j', 'm', 'M', 'p', 'S',
'U', 'w', 'W', 'x', 'X', 'y', 'Y', 'Z', '%'):
format = '%' + directive
time.strftime(format, tt)