bin/118330: /bin/date thinks December has 30 days

Garrett Wollman wollman at hergotha.csail.mit.edu
Thu Nov 29 10:40:02 PST 2007


The following reply was made to PR bin/118330; it has been noted by GNATS.

From: Garrett Wollman <wollman at hergotha.csail.mit.edu>
To: wayne at staff.msen.com
Cc: freebsd-gnats-submit at freebsd.org
Subject: Re: bin/118330: /bin/date thinks December has 30 days
Date: Thu, 29 Nov 2007 13:12:46 -0500 (EST)

 In article <200711291807.lATI71aj028620 at www.freebsd.org> you write:
 
 >Dec 31 does not:
 >% date -v31d -v12m -v7y  
 >31d: Cannot apply date adjustment
 
 Wrong argument order.  This fails because *November* has only 30 days.
 
 $ date -v7y -v12m -v31d
 Mon Dec 31 13:12:10 EST 2007
 
 -GAWollman


More information about the freebsd-bugs mailing list