mercurial/debugcommands.py
changeset 36399 a24c57f1f5c3
parent 36335 d639f60c8eb3
child 36415 0cb09c322647
equal deleted inserted replaced
36398:eb73f8a6177e 36399:a24c57f1f5c3
   558     """parse and display a date"""
   558     """parse and display a date"""
   559     if opts[r"extended"]:
   559     if opts[r"extended"]:
   560         d = util.parsedate(date, util.extendeddateformats)
   560         d = util.parsedate(date, util.extendeddateformats)
   561     else:
   561     else:
   562         d = util.parsedate(date)
   562         d = util.parsedate(date)
   563     ui.write(("internal: %s %s\n") % d)
   563     ui.write(("internal: %d %d\n") % d)
   564     ui.write(("standard: %s\n") % util.datestr(d))
   564     ui.write(("standard: %s\n") % util.datestr(d))
   565     if range:
   565     if range:
   566         m = util.matchdate(range)
   566         m = util.matchdate(range)
   567         ui.write(("match: %s\n") % m(d[0]))
   567         ui.write(("match: %s\n") % m(d[0]))
   568 
   568