getdate.y: do not ignore TZ with relative day, month or year offset
authorOndřej Vašík <ovasik@redhat.com>
Thu, 3 Jul 2008 10:17:11 +0000 (12:17 +0200)
committerJim Meyering <meyering@redhat.com>
Thu, 3 Jul 2008 20:34:21 +0000 (22:34 +0200)
commite2f9495d87e4f2eaf2bfb87ebfaa2c79df2f50b6
tree71fe22bf2115893e15f20957a78a088da0c1a547
parentd5e8c0dde8fee27189b1c5658bbc6471c807ec79
getdate.y: do not ignore TZ with relative day, month or year offset

* lib/getdate.y (get_date): Move the tz-handling block to follow the
relative-date-handling, since otherwise, the latter would clobber the
sole output (an updated Start value) of the tz-handling block.
* tests/test-getdate.c: Tests for the fix
ChangeLog
lib/getdate.y
tests/test-getdate.c