Fix -addTimeInterval: to copy calendarFormat of original date

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34363 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Doug Simons 2011-12-29 18:28:27 +00:00
parent 70bbf8ce82
commit 0babe2697b
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2011-12-29 Doug Simons <doug.simons@testplant.com>
* Source/NSCalendarDate.m: Fix -addTimeInterval: to copy calendarFormat
of original date.
2011-12-24 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSConnection.m: Fix retain rount error spotted by

View file

@ -450,6 +450,7 @@ GSPrivateTimeNow(void)
[self timeIntervalSinceReferenceDate] + seconds];
[newObj setTimeZone: [self timeZoneDetail]];
[newObj setCalendarFormat: [self calendarFormat]];
return newObj;
}