|
From: | Paul Eggert |
Subject: | bug#34608: date +%+4C is unimplemented, contrary to POSIX |
Date: | Thu, 21 Feb 2019 19:37:46 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 |
Eric Blake wrote:
date -d 0001-01-01 +.%+4C. should produce ".+000.", but currently it produces ".%+4C." because the + flag is unimplemented. See also http://austingroupbugs.net/view.php?id=1184
Surely this bug should be reported against strftime, not against 'date'. POSIX does require that strftime behave that way, but it does not place a similar requirement on 'date'.
[Prev in Thread] | Current Thread | [Next in Thread] |