Date: Fri, 19 Apr 2024 14:57:46 +0200
From: Martin Husemann <[email protected]>
Message-ID: <[email protected]>
| On Fri, Apr 19, 2024 at 02:47:23PM +0200, Martin Husemann wrote:
| > The commit message could have explained that a bit.
|
| And it actually should have been "+%b %e %Y" - from the C18 standard draft:
|
| 6.10.8.1 Mandatory macros
|
| __DATE__
|
| The date of translation of the preprocessing translation unit: a
| character string literal of the form "Mmm dd yyyy", where the names of
| the months are the same as those generated by the asctime function,
If that's still in the most recent C (in that form anyway) I'd be surprised,
as asctime() is more or less deprecated I think.
But if that is what is required, then the TOOL_DATE needs to be run with
LC_ALL=C (or LC_ALL=POSIX) so that you get the month name in English, rather
than whatever the local locale's short name for the month would be.
It is still a stupid format...
kre