Kaydet (Commit) ad183bbf authored tarafından Guido van Rossum's avatar Guido van Rossum

Removed nonstandard strftime formats (strftime is tested more

extensively in test_strftime.py anyway).
üst eea9ab72
...@@ -13,8 +13,8 @@ if int(time.mktime(time.localtime(t))) <> int(t): ...@@ -13,8 +13,8 @@ if int(time.mktime(time.localtime(t))) <> int(t):
time.sleep(1.2) time.sleep(1.2)
tt = time.gmtime(t) tt = time.gmtime(t)
for directive in ('a', 'A', 'b', 'B', 'c', 'd', 'E', 'H', 'I', for directive in ('a', 'A', 'b', 'B', 'c', 'd', 'H', 'I',
'j', 'm', 'M', 'n', 'N', 'o', 'p', 'S', 't', 'j', 'm', 'M', 'p', 'S',
'U', 'w', 'W', 'x', 'X', 'y', 'Y', 'Z', '%'): 'U', 'w', 'W', 'x', 'X', 'y', 'Y', 'Z', '%'):
format = '%' + directive format = '%' + directive
time.strftime(format, tt) time.strftime(format, tt)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment