gnustep-dev
[Top][All Lists]
Advanced

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

NSCalendarDate incompatibility between YellowBox and GNUstep


From: Wim Oudshoorn
Subject: NSCalendarDate incompatibility between YellowBox and GNUstep
Date: Mon, 08 Mar 2004 12:21:52 +0100
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3.50 (darwin)

Scenario:

* Create an NSCalendarDate containing 31 Jan 2004
* execute [date dateByAddingYears: 0 month: 1 hours: 0 ...]

Observe the result

GNUstep:  2 March 2004
WO 4.5 : 29 Feb   2004

So GNUstep adds 31 days, the length of Januari
and WebObjects will return a day in Februari.

Unfortunately the Apple documentation is not
very clear on what the method exactly does.

Does anybody know what the method is supposed
to be doing?  

Wim Oudshoorn.





reply via email to

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