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
+++ 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."""