bug-coreutils
[Top][All Lists]
Advanced

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

date bug


From: Aganan, Nicholas
Subject: date bug
Date: Wed, 23 Apr 2008 10:22:23 -0500

[/usr/local/bin]

root @ surplus# pkginfo -l SMCcoreu   

   PKGINST:  SMCcoreu

      NAME:  coreutils

  CATEGORY:  application

      ARCH:  x86

   VERSION:  6.4

   BASEDIR:  /usr/local

    VENDOR:  FSF

    PSTAMP:  Steve Christensen

  INSTDATE:  Apr 23 2008 11:05

     EMAIL:  address@hidden

    STATUS:  completely installed

     FILES:      209 installed pathnames

                   5 shared pathnames

                   7 directories

                  89 executables

               13643 blocks used (approx)

 

[/usr/local/bin]

root @ surplus# date 013100002008          

Thu Jan 31 00:00:00 EST 2008

 

[/usr/local/bin]

root @ surplus# /usr/local/bin/date -d 'last month' '+%b'

Dec
<<<< this is good

 

[/usr/local/bin]

root @ surplus# /usr/local/bin/date -d 'last month' '+%m'

12
<<<< this is good

 

[/usr/local/bin]

root @ surplus# date 033100002008                        

Mon Mar 31 00:00:00 EDT 2008

 

[/usr/local/bin]

root @ surplus# /usr/local/bin/date -d 'last month' '+%b'

Mar
<<<< BUG, should be Feb

 

[/usr/local/bin]

root @ surplus# /usr/local/bin/date -d 'last month' '+%m'

03
<<<< Bug, should be 02

 

[/usr/local/bin]

root @ surplus# date 053100002008                        

Sat May 31 00:00:00 EDT 2008

 

[/usr/local/bin]

root @ surplus# /usr/local/bin/date -d 'last month' '+%b'

May
<<<< BUG, should be Apr

 

[/usr/local/bin]

root @ surplus# /usr/local/bin/date -d 'last month' '+%m'

05
<<<< BUG, should be 04

 

[/usr/local/bin]

root @ surplus# date 073100002008                        

Thu Jul 31 00:00:00 EDT 2008

 

[/usr/local/bin]

root @ surplus# /usr/local/bin/date -d 'last month' '+%b'

Jul
<<<< BUG, should be Jun

 

[/usr/local/bin]

root @ surplus# /usr/local/bin/date -d 'last month' '+%m'

07
<<<< BUG, should be 06

 

[/usr/local/bin]

root @ surplus# date 083100002008                        

Sun Aug 31 00:00:00 EDT 2008

 

[/usr/local/bin]

root @ surplus# /usr/local/bin/date -d 'last month' '+%b'

Jul
<<<< this is good

 

[/usr/local/bin]

root @ surplus# /usr/local/bin/date -d 'last month' '+%m'

07
<<<< this is good

 

[/usr/local/bin]

root @ surplus# date 103100002008                        

Fri Oct 31 00:00:00 EDT 2008

 

[/usr/local/bin]

root @ surplus# /usr/local/bin/date -d 'last month' '+%b'

Oct
<<<< BUG, should be Sep

 

[/usr/local/bin]

root @ surplus# /usr/local/bin/date -d 'last month' '+%m'

10
<<<< BUG, should be 09

 

[/usr/local/bin]

root @ surplus# date 123100002008                        

Wed Dec 31 00:00:00 EST 2008

 

[/usr/local/bin]

root @ surplus# /usr/local/bin/date -d 'last month' '+%b'

Dec
<<<< BUG, should be Nov

 

[/usr/local/bin]

root @ surplus# /usr/local/bin/date -d 'last month' '+%m'

12
<<<< BUG, should be 11

 

Thanks,

 

Nicholas C. Aganan III


*****

The information transmitted is intended only for the person or entity to which 
it is addressed and may contain confidential, proprietary, and/or privileged 
material. Any review, retransmission, dissemination or other use of, or taking 
of any action in reliance upon this information by persons or entities other 
than the intended recipient is prohibited. If you received this in error, 
please contact the sender and delete the material from all computers. GA621




reply via email to

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