D369: util: add `hgdatetopython` to convert hg-style dates to datetimes

phillco (Phil Cohen) phabricator at mercurial-scm.org
Mon Aug 14 15:28:17 EDT 2017


phillco added a comment.


  >   Forget about my comment on the commit message, I was fooled by phabricator
  
  Did you make one? I only see the two inline ones.

INLINE COMMENTS

> lothiraldan wrote in util.py:1898
> Why not passing the date and tz as separate argument instead of a tuple?

I think usually Mercurial dates as passed around as tuples everywhere, so I decided to maintain that convention.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D369

To: phillco, #hg-reviewers
Cc: lothiraldan, mercurial-devel


More information about the Mercurial-devel mailing list