getdate.y: reject an out-of-range timezone value
authorOndřej Vašík <ovasik@redhat.com>
Sat, 30 Aug 2008 13:04:04 +0000 (15:04 +0200)
committerJim Meyering <meyering@redhat.com>
Thu, 4 Sep 2008 12:51:29 +0000 (14:51 +0200)
commitec560ef5cab3aec7a68fb2da6b2dbbbd7415caf1
treed54466cd430201f92d64a4d0f2ed85055c2c2430
parent73a86480745283afaf33a9c5978b3fab495bfe32
getdate.y: reject an out-of-range timezone value

* lib/getdate.y (time_zone_hhmm): Reject any TZ offset that is outside
the range [-24...+24].  When specified with only one or two digits,
* tests/test-getdate.c: Tests for the fix.
* doc/getdate.texi: Document this change.
ChangeLog
doc/getdate.texi
lib/getdate.y
tests/test-getdate.c