Austin Group Bug Tracker <noreply@msnkbrown.net> wrote, on 26 Jun 2009:
>
> ----------------------------------------------------------------------
> (0000114) wpollock (reporter) - 2009-06-26 12:04
> http://austingroupbugs.net/view.php?id=47#c114
> ----------------------------------------------------------------------
> I thought you had agreed to add "%s" to this aardvark? Please consider
> re-opening this, and add:
>
> %s The number of seconds since the Epoch, i.e., since 1970-01-01
> 00:00:00 UTC. (TZ)
>
> ----------------------------------------------------------------------
> (0000117) Don Cragun (manager) - 2009-06-26 12:27
> http://austingroupbugs.net/view.php?id=47#c117
> ----------------------------------------------------------------------
> The request we were given was to add missing specifiers from strftime()
> and strptime() to the list of specifiers supported by the date utility.
> The %s specifier is not in strftime() or strptime() in the standard.
The suggestion to add %s was made by Konrad Schwarz in an email
reply to the aardvark:
https://www.opengroup.org/austin/mailarchives/ag-review/msg02839.html
As far as I can see from the mail archives there was no discussion of it.
If we do add %s to date, we should consider whether (for consistency)
to add it to strftime() and strptime() as well. Although it would
be kind-of redundant for those functions (being equivalent to
mktime() and localtime() respectively, plus conversion to/from a
string) I can see an argument for adding it so that it can be used in
user-supplied/configured format strings.
--
Geoff Clare <g.clare@opengroup.org>
The Open Group, Thames Tower, Station Road, Reading, RG1 1LX, England
|