Mercurial > public > mercurial-scm > hg-stable
diff mercurial/commands.py @ 5858:e7ed5d07cc4c
Display debugstate dates as '%Y-%m-%d %H:%M:%S'
author | Giorgos Keramidas <keramida@ceid.upatras.gr> |
---|---|
date | Fri, 11 Jan 2008 23:30:56 +0200 |
parents | a76395713691 |
children | 00dfc810dae4 |
line wrap: on
line diff
--- a/mercurial/commands.py Mon Jan 14 16:28:32 2008 -0600 +++ b/mercurial/commands.py Fri Jan 11 23:30:56 2008 +0200 @@ -670,11 +670,11 @@ for file_, ent in k: if ent[3] == -1: # Pad or slice to locale representation - locale_len = len(time.strftime("%x %X", time.localtime(0))) + locale_len = len(time.strftime("%Y-%m-%d %H:%M:%S", time.localtime(0))) timestr = 'unset' timestr = timestr[:locale_len] + ' '*(locale_len - len(timestr)) else: - timestr = time.strftime("%x %X", time.localtime(ent[3])) + timestr = time.strftime("%Y-%m-%d %H:%M:%S", time.localtime(ent[3])) if ent[1] & 020000: mode = 'lnk' else: