Treat an empty date string exactly like "0".
authorJim Meyering <meyering@redhat.com>
Wed, 31 Oct 2007 19:32:07 +0000 (20:32 +0100)
committerJim Meyering <meyering@redhat.com>
Wed, 31 Oct 2007 23:57:30 +0000 (00:57 +0100)
commit84005a980aeccf3c9ab68b01ac0964fa0b40212c
treed9e43ea7b570d97ecb0e17c4a937f74a1c601269
parent8385bae293d5b222202ae1e60ac54163331417ac
Treat an empty date string exactly like "0".

* lib/getdate.y (get_date): Once any isspace or TZ= prefix is consumed,
if the remaining date string (to be parsed) is empty, use "0".
Reported by Mischa Molhoek and discussed in this thread:
<http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/11726>.
ChangeLog
lib/getdate.y