pld-builder.new: PLD_Builder/request.py - remove comma, looks more same as ...
glen
glen at pld-linux.org
Wed Sep 15 20:31:06 CEST 2010
Author: glen Date: Wed Sep 15 18:31:06 2010 GMT
Module: pld-builder.new Tag: HEAD
---- Log message:
- remove comma, looks more same as js date. noted by pawelz
---- Files affected:
pld-builder.new/PLD_Builder:
request.py (1.85 -> 1.86)
---- Diffs:
================================================================
Index: pld-builder.new/PLD_Builder/request.py
diff -u pld-builder.new/PLD_Builder/request.py:1.85 pld-builder.new/PLD_Builder/request.py:1.86
--- pld-builder.new/PLD_Builder/request.py:1.85 Thu Sep 9 22:54:29 2010
+++ pld-builder.new/PLD_Builder/request.py Wed Sep 15 20:31:01 2010
@@ -40,7 +40,7 @@
def tzdate(t):
# as strftime %z is unofficial, and does not work, need to make it numeric ourselves
# date = time.strftime("%Y-%m-%d %H:%M:%S", time.localtime(t))
- date = time.strftime("%a, %b %d %Y %H:%M:%S", time.localtime(t))
+ date = time.strftime("%a %b %d %Y %H:%M:%S", time.localtime(t))
# NOTE: the altzone is showing CURRENT timezone, not what the "t" reflects
tz = '{:=+05d}'.format(-time.altzone / 3600 * 100)
return date + ' ' + tz
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/pld-builder.new/PLD_Builder/request.py?r1=1.85&r2=1.86&f=u
More information about the pld-cvs-commit
mailing list