Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3153514.aBcLfjPe96@cagnes>
Date: Mon, 23 Nov 2026 17:11:04 +0100
From: Bruno Haible <bruno@...sp.org>
To: Rich Felker <dalias@...c.org>
Cc: musl@...ts.openwall.com
Subject: Re: getdate() returns invalid date

Rich Felker wrote:
> getdate also has to do more, including:
> 
> - initialize the broken-down time based on current time and timezone
> 
> - interpret certain conversion specifications forward relative to
>   current time
> 
> I'm not sure how involved fixing this will be

In case someone is working on this, find attached a unit test (equivalent
to the one that I've just added to Gnulib).

Cheers!

Bruno


View attachment "test-getdate.c" of type "text/x-csrc" (10340 bytes)

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.