bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Future date


From: Stephane Chazelas
Subject: Re: Future date
Date: Mon, 25 Jan 2016 14:31:30 +0000
User-agent: Mutt/1.5.21 (2010-09-15)

2016-01-25 08:23:10 -0500, Greg Wooledge:
[...]
> Just to be clear, the -d 'human readable stuff' option is specific to GNU
> date, and won't work on other systems.  Also, the 'human readable stuff'
> part is NOT specified.  There is no documentation for what is allowed
> there, and what is not.  You have to figure it out by trial and error,
> and it may change between versions of GNU date.
[...]

That's a bit exaggerated. There's
https://www.gnu.org/software/coreutils/manual/html_node/Date-input-formats.html

At least it's more documented (and less buggy in my experience)
than what ksh93 accepts for its:

printf '%(%F %T %z)T\n' 'date specification'

-- 
Stephane



reply via email to

[Prev in Thread] Current Thread [Next in Thread]