]> git.ipfire.org Git - thirdparty/git.git/commit - date.c
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)
commite92a54d99cb36eab6e29069fe3b135e6e6b24f12
tree9a5dff3463914a89b8f918df5a8b607a5e021731
parent100690b6e8e9cc3cfe2c1d170192b5505d7a2ea8
Clean up approxidate() in preparation for fixes

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>
date.c