From: Junio C Hamano Date: Wed, 7 Jan 2015 21:01:16 +0000 (-0800) Subject: Merge branch 'jk/approxidate-avoid-y-d-m-over-future-dates' X-Git-Tag: v2.3.0-rc0~23 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=04950c714107345c92c5287bcef8f1eab7318391;p=git Merge branch 'jk/approxidate-avoid-y-d-m-over-future-dates' Traditionally we tried to avoid interpreting date strings given by the user as future dates, e.g. GIT_COMMITTER_DATE=2014-12-10 when used early November 2014 was taken as "October 12, 2014" because it is likely that a date in the future, December 10, is a mistake. Loosen this and do not tiebreak by future-ness of the date when (1) ISO-like format is used, and (2) the string can make sense interpreted as both y-m-d and y-d-m. * jk/approxidate-avoid-y-d-m-over-future-dates: approxidate: allow ISO-like dates far in the future pass TIME_DATE_NOW to approxidate future-check --- 04950c714107345c92c5287bcef8f1eab7318391