http://bugs.grommit.com/show_bug.cgi?id=593

           Summary: ksh93 builtin date refuses to relive the sixties
           Product: ksh93-integration
           Version: unspecified
          Platform: i386 (64bit/AMD64)
        OS/Version: Solaris 11/Nevada
            Status: NEW
          Severity: trivial
          Priority: P5
         Component: App/ksh93
        AssignedTo: ksh93-integration-discuss at opensolaris.org
        ReportedBy: Alan.Coopersmith at sun.com


Trying to reproduce a bug caused by VMWare having a broken TOD clock that
makes the system boot with time set to -1, I tried using the ksh93 date
builtin to set the time (after the Solaris /bin/date failed to do so),
but the ksh93 date builtin insists on sending me back to the future:

root at alf:~# date 196912310000.00                                             
   
root at alf:~# date                                                             
   
Sun Feb 21 21:41:31 PST 2010
root at alf:~# date 197012310000.00                                             
   
root at alf:~# date                                                             
   
Thu Dec 31 00:00:01 PST 1970
root at alf:~# ksh93 --version                                                  
   
  version         sh (AT&T Research) 93t 2008-11-04
root at alf:~# uname -a                                                         
   
SunOS alf 5.11 snv_101 i86pc i386 i86pc

(I also tried date -e 0, thinking that would be close, but got "invalid date
specification" - guess -e is output format only, not input format.)


-- 
Configure bugmail: http://bugs.grommit.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to