From d09dc4562a1bd72b923a730dbe837406e4f10ccb Mon Sep 17 00:00:00 2001 From: Jun-ichi Takimoto Date: Sat, 8 Aug 2015 03:39:51 +0900 Subject: 35928: '%-m' should work even if not supported by strftime(3) Also clarify document. --- Doc/Zsh/prompt.yo | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Doc') diff --git a/Doc/Zsh/prompt.yo b/Doc/Zsh/prompt.yo index c4e201465..3c8f2a094 100644 --- a/Doc/Zsh/prompt.yo +++ b/Doc/Zsh/prompt.yo @@ -206,9 +206,10 @@ The GNU extension that a `tt(-)' between the tt(%) and the format character causes a leading zero or space to be stripped is handled directly by the shell for the format characters tt(d), tt(f), tt(H), tt(k), tt(l), tt(m), tt(M), tt(S) and tt(y); any other format -characters are provided to tt(strftime+LPAR()RPAR()) with any leading `tt(-)', -present, so the handling is system dependent. Further GNU -extensions are not supported at present. +characters are provided to the system's strftime+LPAR()3RPAR() +with any leading `tt(-)' present, so the handling is system dependent. +Further GNU (or other) extensions are also passed to strftime+LPAR()3RPAR() +and may work if the system supports them. ) enditem() -- cgit 1.4.1