bug-gnustep
[Top][All Lists]
Advanced

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

[bug #38017] Date formatting inconsistent with Cocoa when calling -descr


From: Niels Grewe
Subject: [bug #38017] Date formatting inconsistent with Cocoa when calling -description on a NSDictionary containing NSCalendarDate objects
Date: Wed, 02 Jan 2013 15:50:26 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.1 Safari/537.11

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/




reply via email to

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