bug-gnustep
[Top][All Lists]
Advanced

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

[bug #47661] regression in -[NSCalendarDate(OPENSTEP) dateByAddingYears:


From: Tim Ooms
Subject: [bug #47661] regression in -[NSCalendarDate(OPENSTEP) dateByAddingYears:months:days:hours:minutes:seconds:]
Date: Mon, 11 Apr 2016 10:27:55 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0

URL:
  <http://savannah.gnu.org/bugs/?47661>

                 Summary: regression in -[NSCalendarDate(OPENSTEP)
dateByAddingYears:months:days:hours:minutes:seconds:]
                 Project: GNUstep
            Submitted by: timooms
            Submitted on: Mon 11 Apr 2016 10:27:54 AM GMT
                Category: Base/Foundation
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Between version 1.24.6 and 1.24.9 (and still in the latest version) there is a
regression in the function
dateByAddingYears:months:days:hours:minutes:seconds: of NSCalendarDate.

Example input:
2016-01-06 01:00:00 +0100
years, months, days, hours, minutes = 0
seconds = -3600
gives in 1.24.9 as result: 2152-02-12 06:28:16 +0000
in 1.24.6, the result is: 2016-01-06 00:00:00 +0100




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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