mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-22 05:02:00 +00:00
Fix init from string
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@6423 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
f1313e073c
commit
3ff7abaa75
3 changed files with 429 additions and 410 deletions
|
@ -908,9 +908,8 @@ GSTimeNow()
|
|||
// Easiest to just have NSCalendarDate do the work for us
|
||||
NSCalendarDate *d = [calendarClass alloc];
|
||||
|
||||
[d initWithString: description];
|
||||
[self initWithTimeIntervalSinceReferenceDate:
|
||||
otherTime(d)];
|
||||
d = [d initWithString: description];
|
||||
[self initWithTimeIntervalSinceReferenceDate: otherTime(d)];
|
||||
RELEASE(d);
|
||||
return self;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue