Bug 27029

Summary: strptime: %s formatting missing (patch)
Product: Base System Reporter: thz <thz>
Component: binAssignee: dd <dd>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.3-STABLE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description thz 2001-05-02 11:00:02 UTC
for date manipulations in ascii form is documented, that all formattings
of date (resp. strftime) can be read by strptime. However, the "%s" 
format (seconds UTC since epoch) is not recognized. A patch, which
integrates this format is supplied.

How-To-Repeat: date -j -f "%s" `date "+%s"`
Comment 1 dd freebsd_committer freebsd_triage 2001-06-25 03:28:08 UTC
State Changed
From-To: open->feedback

The patch looks pretty good; however, could you please send it to 
audit@freebsd.org for further review?
Comment 2 dd freebsd_committer freebsd_triage 2001-06-26 07:30:16 UTC
Responsible Changed
From-To: freebsd-bugs->dd

I'll do this.
Comment 3 dd freebsd_committer freebsd_triage 2001-07-13 14:59:30 UTC
State Changed
From-To: feedback->analyzed

patch applied, will mfc in a week or two
Comment 4 dd freebsd_committer freebsd_triage 2001-07-31 01:06:28 UTC
State Changed
From-To: analyzed->closed

MFC'd, thanks!