To whom it may concern:
I'm writing to suggest that the default output format of 'date' (when
neither '-R' nor '-I' option is given) has to be made locale-dependent
using gettext().
date.c (in sh-utils-2.0) has the following:
format = (rfc_format
? (universal_time
? "%a, %_d %b %Y %H:%M:%S GMT"
: "%a, %_d %b %Y %H:%M:%S %z")
: (iso_8601_format
? iso_format_string[iso_8601_format][universal_time]
: "%a %b %e %H:%M:%S %Z %Y"));
All but the last one is locale-independent. However, the last one "%a %b
%e %H:%M:%S %Z %Y" is locale-dependent. For instance, in ko_KR locale,
"%x %r" is more appropriate. Therefore, I think it has to be enclosed
with 'gettext()' (or _() macro)
Thank you in advance for your kind consideration,
Jungshik Shin
_______________________________________________
Bug-sh-utils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-sh-utils