changeset 1953 | 379ab45b91b7 |
parent 1951 | 696230e52e4d |
child 1958 | f92cf4a8cedd |
--- a/mercurial/util.py +++ b/mercurial/util.py @@ -742,7 +742,7 @@ def makedate(): 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."""