sapling/lib/hgtime
Jun Wu 186bdeb1bd hgtime: parse a range
Summary:
`hg` also supports matching a date range via `util.matchdate`. For example,
`Apr 2000` would mean `Apr 1, 2000 0:0:0 to Apr 30, 2000 23:59:59`.

Implement that behavior. Also support other formats covered by `hg help dates`
including `> DATE`, `< DATE`, `DATE to DATE`, and `-DAYS`.

Reviewed By: sfilipco

Differential Revision: D17504706

fbshipit-source-id: db1c280b62a72f4e8128909ca6fd814d85d22491
2019-10-08 11:11:02 -07:00
..
src hgtime: parse a range 2019-10-08 11:11:02 -07:00
Cargo.toml hgtime: parse "ago" time like "5 minutes ago" 2019-10-08 11:11:02 -07:00