Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 May 1995 15:10:01 -0700
From:      alan@epilogue.com
To:        freebsd-bugs
Subject:   bin/426: date "+%s"
Message-ID:  <199505162210.PAA23394@freefall.cdrom.com>
In-Reply-To: Your message of Tue, 16 May 1995 18:03:45 -0400 <199505162203.SAA23270@beandorf.epilogue.com>

next in thread | previous in thread | raw e-mail | index | archive | help

>Number:         426
>Category:       bin
>Synopsis:       Is 'date "+%s"' supported?
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs (FreeBSD bugs mailing list)
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 16 15:10:00 1995
>Originator:     Alan Bawden
>Organization:
>Release:        FreeBSD 2.0-RELEASE i386
>Environment:

>Description:

	In 1.1.5.1, the command 'date "+%s"' prints '800661335' (for some
	number of seconds).  In 2.0, the same command prints 's'.  The man
	page for `date' refers me to the man page for `strftime'.  The man
	page for `strftime' documents `%s' as an "extension".  I haven't
	tried to call `strftime' directly.

>How-To-Repeat:
	
>Fix:
	
	Change the documentation, or change the code.

>Audit-Trail:
>Unformatted:





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199505162210.PAA23394>