diff --git a/ChangeLog b/ChangeLog index 20d42d2fb..359a90cf5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,9 @@ * Source/NSLocale.m: ([-_getExemplarCharacterSet]) Fix error in handling returned range (bug #38118 reported by X Y + * Source/NSPropertyList.m: Fix encoding of date objects when using the + OpenStep format to simply used the description of the3 date. + Fixes bug #38017 2013-01-14 Richard Frith-Macdonald diff --git a/Source/NSPropertyList.m b/Source/NSPropertyList.m index c6f1247f9..fc08f931a 100644 --- a/Source/NSPropertyList.m +++ b/Source/NSPropertyList.m @@ -1978,9 +1978,7 @@ OAppend(id obj, NSDictionary *loc, unsigned lev, unsigned step, } else { - obj = [obj descriptionWithCalendarFormat: @"%Y-%m-%d %H:%M:%S %z" - timeZone: z locale: nil]; - PString(obj, dest); + PString([obj description], dest); } } else if ([obj isKindOfClass: NSArrayClass])