zsh-workers
 help / color / mirror / code / Atom feed
From: dana <dana@dana.is>
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: "zsh-workers@zsh.org" <zsh-workers@zsh.org>
Subject: Re: [PATCH] Add nanosecond support to strftime (zsh/datetime)
Date: Wed, 7 Nov 2018 16:40:17 -0600	[thread overview]
Message-ID: <273AF4AE-8694-41EA-949F-9C6598457DFE@dana.is> (raw)
In-Reply-To: <CAH+w=7ZLNRfC11UVPxLSYwQu9EeQ3vVtE8DC3FruknSkSW1c9Q@mail.gmail.com>

On 7 Nov 2018, at 16:26, Bart Schaefer <schaefer@brasslantern.com> wrote:
>I'm having flashbacks that a new format specifier for this may have
>been discussed on the austin-group (POSIX standards) mailing list.  If
>so, it would be preferable to match here whatever the (still
>forthcoming?  I've lost track of austin-group recently) standard is
>going to be, rather than invent something of our own.

I don't follow the mailing list, but i couldn't find any mention of it on their
bug tracker.

In any case, this change doesn't add any format specifiers, it just allows
strftime to pass nanoseconds to ztrftime(). The previous change extended the
existing %#. specifier so that you could do %9., and then as an alias for that
it also added %N, which is what GNU date (and anything else using Gnulib's
nstrftime()) uses. If there is something different that might be coming to
POSIX, i agree that it would be nice to support that too/instead. (Though the
previous change was already released, so if we replaced it we might be
breaking stuff...)

dana


      reply	other threads:[~2018-11-07 22:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-07 22:19 dana
2018-11-07 22:26 ` Bart Schaefer
2018-11-07 22:40   ` dana [this message]

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=273AF4AE-8694-41EA-949F-9C6598457DFE@dana.is \
    --to=dana@dana.is \
    --cc=schaefer@brasslantern.com \
    --cc=zsh-workers@zsh.org \
    /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).