[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#41480: Chars out of order in date.c string
From: |
Anders Jonsson |
Subject: |
bug#41480: Chars out of order in date.c string |
Date: |
Sat, 23 May 2020 13:41:08 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 |
Hi,
I noticed one thing when having a look at the Swedish translation of
coreutils.
>#: src/date.c:196
>msgid ""
>" %F full date; like %+4Y-%m-%d\n"
This doesn't give the expected result when I try it in coreutils 8.30 in
Debian testing:
>date +%F
2020-05-23
>date +%+4Y-%m-%d
%+4Y-05-23
If the "%" and the "+" change places in the string above we get the
expected result:
>date +%4Y-%m-%d
2020-05-23
My suggestion would thus be to change the character order so the string
becomes " %F full date; like +%4Y-%m-%d\n"
Regards,
Anders Jonsson
- bug#41480: Chars out of order in date.c string,
Anders Jonsson <=