changeset 1958 | f92cf4a8cedd |
parent 1956 | 16750010813d |
parent 1953 | 379ab45b91b7 |
child 1976 | df8416346bb7 |
--- a/mercurial/util.py Wed Mar 15 07:10:04 2006 +0100 +++ b/mercurial/util.py Wed Mar 15 07:15:13 2006 +0100 @@ -742,7 +742,7 @@ tz = time.timezone return time.mktime(lt), tz -def datestr(date=None, format='%c'): +def datestr(date=None, format='%a %b %d %H:%M:%S %Y'): """represent a (unixtime, offset) tuple as a localized time. unixtime is seconds since the epoch, and offset is the time zone's number of seconds away from UTC."""