changeset 1953 | 379ab45b91b7 |
parent 1951 | 696230e52e4d |
child 1958 | f92cf4a8cedd |
--- a/mercurial/util.py Tue Mar 14 21:40:46 2006 -0800 +++ b/mercurial/util.py Tue Mar 14 22:01:30 2006 -0800 @@ -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."""