[PATCH] util: parsedate: Update to understand 'today' and 'yesterday' (issue 3764)

Bryan O'Sullivan bos at serpentine.com
Wed Jan 23 11:05:17 CST 2013


On Tue, Jan 22, 2013 at 4:28 PM, Paul Cavallaro <ptc at fb.com> wrote:

> util: parsedate: Update to understand 'today' and 'yesterday' (issue 3764)
>

A better first line would be:

util: make parsedate support 'today' and 'yesterday' (issue3764)

This follows the patch description
guidelines<http://mercurial.selenic.com/wiki/ContributingChanges#Patch_descriptions>
.

Adding support for "today" and "yesterday" to parsedate
>
> Test Plan: Use `./hg log -d today` or another command
>

These lines are superfluous.

Otherwise, Augie and Wagner's suggestion of using inline Python to deal
with dates instead of bash sytax sounds great.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20130123/ec6ab139/attachment.html>


More information about the Mercurial-devel mailing list