[pacman-dev] [PATCH] makepkg: use localized date strings

Silvan Jegen s.jegen at gmail.com
Wed Mar 7 15:17:33 UTC 2018


On Wed, Mar 7, 2018 at 2:50 PM, Andrew Gregory
<andrew.gregory.8 at gmail.com> wrote:
> On 03/07/18 at 02:30pm, Silvan Jegen wrote:
>> On Wed, Mar 7, 2018 at 11:09 AM, Allan McRae <allan at archlinux.org> wrote:
>> > On 07/03/18 17:56, Silvan Jegen wrote:
>> >> On FreeBSD that option does seem to be
>> >> supported: https://www.freebsd.org/cgi/man.cgi?date
>> >
>> > Right on the page you linked...
>> >      %c    is replaced by national representation of time and date.
>>
>> Yes, that's why I linked it. I am not sure if it's supported on the
>> other BSDs and/or MacOSX though, that is what I was trying to say. If
>> all BSDs use the same version of date(1) then I assume adding this
>> option is probably fine.
>
> %c is specified by POSIX

I was hoping for the man page to mention that this formatting option
is POSIX but I didn't.

If it's POSIX then this change should be ok. The formatting of the
date command will change for a lot of users but I assume that should
be fine.


More information about the pacman-dev mailing list