URL:
<http://savannah.gnu.org/bugs/?38017>
Summary: Date formatting inconsistent with Cocoa when calling
-description on a NSDictionary containing NSCalendarDate objects
Project: GNUstep
Submitted by: thebeing
Submitted on: Mi 02 Jan 2013 15:50:24 GMT
Category: Base/Foundation
Severity: 3 - Normal
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
On Mac OS X, when you call -description on a dictionary that contains
NSCalendarDate objects, it respects the calendar format set for the object.
When you do the same with gnustep-base, you get a standard timestamp instead.
The reason is that we have proper support for NSDate in ASCII property lists
:-) So I'm not quite sure whether we want to modify our behaviour to match the
OS X implementation, since it would mean that we'd have to have a special case
in GSPropertyListMake() just for this. (Also, when writing XML plists, Cocoa
will disregard the calendar format set for the object as well).
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?38017>
_______________________________________________
Nachricht gesendet von/durch Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-gnustep