Mercurial > public > mercurial-scm > hg-stable
diff mercurial/util.py @ 1958:f92cf4a8cedd
merge with crew
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Wed, 15 Mar 2006 07:15:13 +0100 |
parents | 16750010813d 379ab45b91b7 |
children | df8416346bb7 |
line wrap: on
line diff
--- 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."""