On 2005-08-24 16:18:43 +0100 Andreas Höschler <[EMAIL PROTECTED]> wrote:
> Hello all, > > dateByAddingYears:months:days:hours:minutes:seconds: > > does not work for us! > > NSCalendarDate *dateA = [NSCalendarDate dateWithString:@"24.08.2005 > 13:59:59" calendarFormat:@"%d.%m.%Y %H:%M:%S"]; > NSCalendarDate *dateB = [NSCalendarDate dateWithString:@"24.08.2005 > 14:00:16" calendarFormat:@"%d.%m.%Y %H:%M:%S"]; > NSLog(@"%@", [dateA dateByAddingYears:0 months:0 days:0 hours:2 > minutes:-2 seconds:-34]); > NSLog(@"%@", [dateB dateByAddingYears:0 months:0 days:0 hours:2 > minutes:-2 seconds:-32]); > > gives us > > 2005-08-24 17:12:37.000 DateTool[9797] 2005-08-24 15:57:25 +0200 > 2005-08-24 17:12:37.000 DateTool[9797] 2005-08-24 17:57:44 +0200 Thanks for the bug report ... I fixed that in CVS. _______________________________________________ Discuss-gnustep mailing list [email protected] http://lists.gnu.org/mailman/listinfo/discuss-gnustep
