Clean up approxidate() in preparation for fixes
authorLinus Torvalds <torvalds@osdl.org>
Thu, 28 Sep 2006 19:12:28 +0000 (12:12 -0700)
committerJunio C Hamano <junkio@cox.net>
Fri, 29 Sep 2006 01:23:25 +0000 (18:23 -0700)
Our approxidate cannot handle simple times like "5 PM yesterday", and to
fix that, we will need to add some logic for number handling. This just
splits that out into a function of its own (the same way the _real_ date
parsing works).

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
No differences found