]> git.ipfire.org Git - thirdparty/coreutils.git/commit
date: fix TZ= regression
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 21 Jan 2017 02:24:02 +0000 (18:24 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 21 Jan 2017 02:24:54 +0000 (18:24 -0800)
commitb14be5085cd1aefd473a000456b21270e6070711
treee15813f9be5eb1de322aac2ccae736ce3d029d22
parent7cecdd6d69ea6981f93c2f15918c10f2e7af14cd
date: fix TZ= regression

Problem reported by Paul Wise for Debian, in:
https://bugs.debian.org/851934
This is fallout from the fix for GNU Bug#23035.
* src/date.c (batch_convert): New args TZ and TZSTRING.
All uses changed.
(batch_convert, main): Adjust to parse_datetime2 API change.
(main): Allocate time zone object.
* tests/misc/date-debug.sh: Fix incorrect test case,
caught by the fix.
* tests/misc/date.pl: Test the fix.
src/date.c
tests/misc/date-debug.sh
tests/misc/date.pl