coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Padding Flags Ignored by %x and %X (Date Utility)


From: sunnycemetery
Subject: Padding Flags Ignored by %x and %X (Date Utility)
Date: Fri, 23 Apr 2021 20:05:16 -0400

A few examples:

■ export LANG=ja_JP.utf8
■ date +%-x
2021年04月23日
■ date +%_x
2021年04月23日
■ date +%-X
20時01分18秒

Is this intended behavior?  Here is what I expected:

■ date +%-x
2021年4月23日
■ date +%_x
2021年 4月23日
■ date +%-X
20時1分18秒

Thank you.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]