Mercurial > hg
changeset 971:eac9c8efcd9b 0.6c
Remove call to non-existent date_parser
author | mpm@selenic.com |
---|---|
date | Sat, 20 Aug 2005 01:35:45 -0700 |
parents | bf375e93073b |
children | 0bc72d91aeda |
files | mercurial/hg.py |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/hg.py Sat Aug 20 01:29:04 2005 -0700 +++ b/mercurial/hg.py Sat Aug 20 01:35:45 2005 -0700 @@ -280,9 +280,7 @@ def add(self, manifest, list, desc, transaction, p1=None, p2=None, user=None, date=None): - if date: - date = util.date_parser(date) - else: + if not date: if time.daylight: offset = time.altzone else: offset = time.timezone date = "%d %d" % (time.time(), offset)