Util-Linux Archive on lore.kernel.org
 help / color / Atom feed
From: Carlos Santos <unixmania@gmail.com>
To: Karel Zak <kzak@redhat.com>
Cc: util-linux@vger.kernel.org
Subject: Re: [ANNOUNCE] util-linux v2.35
Date: Mon, 27 Jan 2020 13:29:47 -0300
Message-ID: <CAJ4jsafKGLntP-uKj-+kVY=xGk9FTPuw98ntsAEEpMFR8Ub6zQ@mail.gmail.com> (raw)
In-Reply-To: <20200127134005.qymawlxsf34p4oma@ws.net.home>

On Mon, Jan 27, 2020 at 10:40 AM Karel Zak <kzak@redhat.com> wrote:
>
> On Mon, Jan 27, 2020 at 02:34:38PM +0100, Karel Zak wrote:
> > On Fri, Jan 24, 2020 at 04:16:47PM -0300, Carlos Santos wrote:
> > > I noticed that it comes due to sys-utils/hwclock-parse-date.y, which
> > > was taken from gnulib. Would it be possible to take the file from an
> > > previous version of gnulib that was still under GPLv2?
> >
> > I have checked it again and all history of the file in git is with v3,
> > and import old version also means import many bugs....
> >
> > Maybe the best would be to use our lib/timeutils.c:parse_timestamp().
> > It does not provide support for so many date-time formats, but the
> > basic format like "2012-09-22 16:34:22" (and subsets) is supported.
> >
> > IMHO it's better to introduce a small backward compatibility issue than
> > rely on hwclock-parse-date.y or execute date(1) like old versions.
>
> or we can use #ifdef to keep it backwardly compatible for normal
> distros where v3 is not problem and lib/timeutils.c:parse_timestamp()
> with v2 for the rest ... at least for v2.35.1.

Does parse_timestamp support localization, like getdate(3) does?

-- 
Carlos Santos <unixmania@gmail.com>

  parent reply index

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-21 10:57 Karel Zak
2020-01-24 19:16 ` Carlos Santos
2020-01-25 10:51   ` Karel Zak
2020-01-25 11:19     ` Carlos Santos
2020-01-26 16:59     ` J William Piggott
2020-01-26 17:50       ` Carlos Santos
2020-01-27 16:13       ` Karel Zak
2020-01-27 16:38         ` Carlos Santos
2020-01-27 20:18           ` Karel Zak
2020-01-27 13:34   ` Karel Zak
2020-01-27 13:40     ` Karel Zak
2020-01-27 15:25       ` Karel Zak
2020-01-27 16:29       ` Carlos Santos [this message]
2020-01-27 20:21         ` Karel Zak
2020-01-28 19:24           ` Sami Kerola
2020-01-30 11:17             ` Karel Zak

Reply instructions:

You may reply publically 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='CAJ4jsafKGLntP-uKj-+kVY=xGk9FTPuw98ntsAEEpMFR8Ub6zQ@mail.gmail.com' \
    --to=unixmania@gmail.com \
    --cc=kzak@redhat.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

Util-Linux Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/util-linux/0 util-linux/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 util-linux util-linux/ https://lore.kernel.org/util-linux \
		util-linux@vger.kernel.org
	public-inbox-index util-linux

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.util-linux


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git