Thread (22 messages) flat view 22 messages, 3 authors, 2016-06-15

Re: [PATCH] Allow testing of _relative family of time formatting and parsing functions

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:47:20

Possibly related (same subject, not in this thread)

Alex Riesen [off-list ref] writes:
To complement the testability of approxidate.
---
Alex Riesen, Fri, Aug 28, 2009 21:33:02 +0200:
quoted
It should allow safe testing of this part of the code.
And this should really allow testing of it:

    $ ./test-date '10.days.ago'
    10.days.ago -> bad -> Thu Jan  1 01:00:00 1970
    10.days.ago -> Tue Aug 18 22:50:20 2009

    relative: 10.days.ago -> Fri Dec 22 12:00:00 1989

    relative: 10 days ago, out of Fri Dec 22 12:00:00 1989

    $
What are these blank lines for?  Is this intended as a serious submission
for inclusion?  I am having a hrad time to guess, especially you did not
sign this off, nor Cc'ed me.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help