commit | 48b1cdea455f6d041ce853cad59b48f779cf9f18 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Mon Feb 02 03:19:06 1998 +0000 |
committer | Guido van Rossum <guido@python.org> | Mon Feb 02 03:19:06 1998 +0000 |
tree | 8efcded386d0a0868aa2222301a331a446db186c | |
parent | ad37e9e77dfde3ae08bf0dc767e4c66451f3baeb [diff] |
Fix typo in format for strftime() used by cookie code.
diff --git a/Tools/faqwiz/faqwiz.py b/Tools/faqwiz/faqwiz.py index 6912cec..29712eb 100644 --- a/Tools/faqwiz/faqwiz.py +++ b/Tools/faqwiz/faqwiz.py
@@ -151,7 +151,7 @@ then = now + COOKIE_LIFETIME gmt = time.gmtime(then) print "Set-Cookie: %s=%s; path=/cgi-bin/;" % (name, value), - print time.strftime("expires=%a, %d-%b-%x %X GMT", gmt) + print time.strftime("expires=%a, %d-%b-%y %X GMT", gmt) class MagicDict: