Util-Linux Archive mirror
 help / color / mirror / Atom feed
From: Karel Zak <kzak@redhat.com>
To: "Péter Ujfalusi" <peter.ujfalusi@linux.intel.com>
Cc: util-linux@vger.kernel.org
Subject: Re: [PATCH] lib/timeutils: Require '@' prefix for seconds since the Epoch timestamp
Date: Tue, 13 Sep 2022 20:24:41 +0200	[thread overview]
Message-ID: <20220913182441.2vat5obehs7dfbzq@ws.net.home> (raw)
In-Reply-To: <b89d8afb-75fb-8917-cb13-dff5fc589ae7@linux.intel.com>

On Tue, Sep 13, 2022 at 02:26:58PM +0300, Péter Ujfalusi wrote:
> 
> 
> On 12/09/2022 15:23, Karel Zak wrote:
> > On Wed, Sep 07, 2022 at 08:41:41AM +0300, Peter Ujfalusi wrote:
> >>  lib/timeutils.c | 14 ++++++--------
> >>  1 file changed, 6 insertions(+), 8 deletions(-)
> > 
> > Applied, let's use '@' prefix :-) Thanks.
> 
> I will try to look at documenting the supported time formats within
> util-linux...
> 
> My guess would be to add a new file:
> man-common/timestamp-formats.adoc
> 
> and link it in dmesg for example?

Yes, sounds good. 

We also use parse_timestamp() in rtcwake, cal and last.

    Karel


-- 
 Karel Zak  <kzak@redhat.com>
 http://karelzak.blogspot.com


      reply	other threads:[~2022-09-13 18:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-07  5:41 [PATCH] lib/timeutils: Require '@' prefix for seconds since the Epoch timestamp Peter Ujfalusi
2022-09-12 12:23 ` Karel Zak
2022-09-13 11:26   ` Péter Ujfalusi
2022-09-13 18:24     ` Karel Zak [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=20220913182441.2vat5obehs7dfbzq@ws.net.home \
    --to=kzak@redhat.com \
    --cc=peter.ujfalusi@linux.intel.com \
    --cc=util-linux@vger.kernel.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.
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 read-only IMAP folder(s) and NNTP newsgroup(s).