bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug#48085: date -d greater than 23 years ago gives error invalid dat


From: Paul Eggert
Subject: Re: bug#48085: date -d greater than 23 years ago gives error invalid date
Date: Sat, 19 Feb 2022 15:57:16 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0

On 4/28/21 16:23, Mark Krenz wrote:
So I'm not sure if this is a problem with coreutils or a change in the
zoneinfo database. Any ideas?

This appears to be a problem in the GNU C library, when its mktime deciphers the relatively unusual time zone history of Indiana.

I installed the attached patch into Gnulib and propagated it into Coreutils, so the issue should be fixed in the next release of GNU Coreutils. Eventually this patch should migrate from Gnulib to glibc so that other apps get the fix. Thanks for reporting the issue.

Attachment: 0001-mktime-improve-heuristic-for-ca-1986-Indiana-DST.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]