From: Andrew Main <zefram@tao.co.uk>
To: pws@ibmth.difi.unipi.it
Cc: zsh-workers@math.gatech.edu
Subject: Re: PATCH: zsh-3.1.2-zefram3: 12 hour clock in prompts
Date: Fri, 16 Jan 1998 14:27:48 +0000 (GMT) [thread overview]
Message-ID: <199801161427.OAA05931@taos.demon.co.uk> (raw)
In-Reply-To: <9801161314.AA38808@ibmth.difi.unipi.it> from "pws@ibmth.difi.unipi.it" at Jan 16, 98 02:14:51 pm
pws@ibmth.difi.unipi.it wrote:
>It looks (as I mentioned before) as if someone has rationalised the %l
>strftime sequence to do the same as in strftime(), i.e. print a space
>before a number less than 10 in an hour given in 12-hour format.
Hmm.
ztrftime() is disgusting. I'd really like to strip it down to what POSIX
requires date(1) to handle (and make it really POSIX conformant) -- to
hell with existing users, it's used almost purely for prompts. Then do
what should have been done with strftime() from the start: add flags to
the % sequences to specify the type of fill. What do people think?
-zefram
next prev parent reply other threads:[~1998-01-16 14:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-01-16 13:14 pws
1998-01-16 14:27 ` Andrew Main [this message]
1998-01-16 14:48 ` Peter Stephenson
1998-01-19 9:15 ` PATCH: zsh-3.1.2-zefram3: 12 hour clock (2) Peter Stephenson
1998-01-19 11:23 ` PATCH: zsh-3.1.2-zefram3: 12 hour clock (3) Peter Stephenson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=199801161427.OAA05931@taos.demon.co.uk \
--to=zefram@tao.co.uk \
--cc=pws@ibmth.difi.unipi.it \
--cc=zsh-workers@math.gatech.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).