bug-gnustep
[Top][All Lists]
Advanced

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

[bug #17729] NSCalendarDate fails if seconds passed is more than 59


From: Richard Frith-Macdonald
Subject: [bug #17729] NSCalendarDate fails if seconds passed is more than 59
Date: Thu, 14 Sep 2006 07:59:54 +0000
User-agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/418.8 (KHTML, like Gecko) Safari/419.3

Update of bug #17729 (project gnustep):

                  Status:                    None => Invalid                
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #1:

The legal range for seconds is 0-59 (as documented in both the MacOS-X and
GNUstep documentation), so the example code fragment is simply wrong unless
startTime is a time within the last minute.

Even if it was legal to pass in an arbitrary value for seconds, the example
would still probably not do what was intended, unless
startTime == [NSDate dateWithTimeIntervalSinceReferenceDate: 0.0]

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?17729>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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