date.c: abort if the system time cannot handle one of our timestamps
commit1e65a982da0e9dd4eac440e82392a8b7c72b3def
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Wed, 26 Apr 2017 19:29:36 +0000 (26 21:29 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 27 Apr 2017 04:07:40 +0000 (27 13:07 +0900)
treecf0140e50c30905f3aba1ded712b66cb75afc4d6
parentdddbad728c93280fe54ef86699b6d70e2aab44d1
date.c: abort if the system time cannot handle one of our timestamps

We are about to switch to a new data type for time stamps that is
definitely not smaller or equal, but larger or equal to time_t.

So before using the system functions to process or format timestamps,
let's make extra certain that they can handle what we feed them.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
date.c