zsh-workers
 help / color / mirror / code / Atom feed
* Re: ztrftime and prompt
  1999-08-05 10:04 ztrftime and prompt Owen M. Astley
@ 1999-08-05  9:56 ` Peter Stephenson
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Stephenson @ 1999-08-05  9:56 UTC (permalink / raw)
  To: zsh-workers

"Owen M. Astley" wrote:
> Although the man page says that prompts with %D{...} are printed using
> strftime, they are parsed by ztrftime first.
> 
> Is it worth while documenting ztrftime, or is this likely to change?

It should really be documented.  In most cases the only differences from a
normal strftime() are the ones listed in the %D prompt expansion, and the
extra code is just to provide a fallback, but if an external strftime() is
not available there's no documentation at all, and if it's defective the
extra ones provided by zsh aren't documented.  There could even be clashes
with a non-standard strftime.

-- 
Peter Stephenson <pws@ibmth.df.unipi.it>       Tel: +39 050 844536
WWW:  http://www.ifh.de/~pws/
Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy


^ permalink raw reply	[flat|nested] 2+ messages in thread

* ztrftime and prompt
@ 1999-08-05 10:04 Owen M. Astley
  1999-08-05  9:56 ` Peter Stephenson
  0 siblings, 1 reply; 2+ messages in thread
From: Owen M. Astley @ 1999-08-05 10:04 UTC (permalink / raw)
  To: zsh-workers

Although the man page says that prompts with %D{...} are printed using
strftime, they are parsed by ztrftime first.

Is it worth while documenting ztrftime, or is this likely to change?

Owen


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-08-05 10:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-08-05 10:04 ztrftime and prompt Owen M. Astley
1999-08-05  9:56 ` Peter Stephenson

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).