Code

parse_date(): fix parsing 03/10/2006
authorJunio C Hamano <junkio@cox.net>
Wed, 5 Apr 2006 05:57:15 +0000 (22:57 -0700)
committerJunio C Hamano <junkio@cox.net>
Wed, 5 Apr 2006 06:00:18 +0000 (23:00 -0700)
commitfa0cdab537b1ae635b5a64cddd29cddf2dfc4a1b
tree718883ab1ba866763b2cc2bab857939d4906f9f3
parent72fdfb50f721460e4cdff16fbe9c72d4ce6c668c
parse_date(): fix parsing 03/10/2006

The comment associated with the date parsing code for three
numbers separated with slashes or dashes implied we wanted to
interpret using this order:

yyyy-mm-dd
yyyy-dd-mm
mm-dd-yy
dd-mm-yy

However, the actual code had the last two wrong, and making it
prefer dd-mm-yy format over mm-dd-yy.

Signed-off-by: Junio C Hamano <junkio@cox.net>
date.c