bug-gnustep
[Top][All Lists]
Advanced

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

[bugs #8884] NSCalendarDate +dateWithString:calendarFormat: problem


From: Richard Frith-Macdonald
Subject: [bugs #8884] NSCalendarDate +dateWithString:calendarFormat: problem
Date: Thu, 13 May 2004 06:08:33 -0400
User-agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/124 (KHTML, like Gecko) Safari/125.1

This mail is an automated notification from the bugs tracker
 of the project: GNUstep.

/**************************************************************************/
[bugs #8884] Latest Modifications:

Changes by: 
                Richard Frith-Macdonald <rfm@gnu.org>
'Date: 
                Thu 05/13/04 at 09:43 (GMT)

            What     | Removed                   | Added
---------------------------------------------------------------------------
          Resolution | None                      | Fixed
              Status | Analyzed                  | Closed


------------------ Additional Follow-up Comments ----------------------------
Fixed in CVS.  Also made the following changes/fixes -
Logging of errors only done when compiled for debug.
More error logging.
Accept nil/empty format and description strings.
Default year to be current year as MacOS-X does.
Document default values for year. month. day etc.
Some performace optimisations.







/**************************************************************************/
[bugs #8884] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=8884>
Project: GNUstep
Submitted by: 0
On: Tue 05/11/04 at 20:44

Category:  Base/Foundation
Severity:  5 - Average
Item Group:  Bug
Resolution:  Fixed
Assigned to:  CaS
Status:  Closed


Summary:  NSCalendarDate +dateWithString:calendarFormat: problem

Original Submission:  This method should return nil in the case of bad input - 
instead it returns an undefined, but invalid, date.  This makes catching bad 
input rather tricky.

Follow-up Comments
------------------


-------------------------------------------------------
Date: Thu 05/13/04 at 09:43         By: CaS
Fixed in CVS.  Also made the following changes/fixes -
Logging of errors only done when compiled for debug.
More error logging.
Accept nil/empty format and description strings.
Default year to be current year as MacOS-X does.
Document default values for year. month. day etc.
Some performace optimisations.


-------------------------------------------------------
Date: Thu 05/13/04 at 08:13         By: CaS
I agree ... this method should return nil on any inconsistency between the 
format and the supplied string.
Will look into fixing it.












For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=8884>

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







reply via email to

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