diff mercurial/help/dates.txt @ 18537:ae60735e37d2

dates: support 'today' and 'yesterday' in parsedate (issue3764) Adding support to parsedate in util module to understand the more idiomatic dates 'today' and 'yesterday'. Added unified tests and docstring tests for added functionality.
author Paul Cavallaro <ptc@fb.com>
date Wed, 23 Jan 2013 09:51:45 -0800
parents 06803dc5fc19
children b2586e2cc67a
line wrap: on
line diff
--- a/mercurial/help/dates.txt	Mon Jan 28 12:19:21 2013 -0800
+++ b/mercurial/help/dates.txt	Wed Jan 23 09:51:45 2013 -0800
@@ -18,6 +18,8 @@
 - ``12-6``
 - ``12/6``
 - ``12/6/6`` (Dec 6 2006)
+- ``today`` (midnight)
+- ``yesterday`` (midnight)
 
 Lastly, there is Mercurial's internal format: