URL:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=14863>
Summary: [[NSCalendarDate date]
descriptionWithCalendarFormat:@"%F"] always returns @"000"
Project: GNUstep
Submitted by: mjimenez
Submitted on: Tue 10/25/05 at 22:13
Category: Base/Foundation
Severity: 3 - Normal
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
_______________________________________________________
Details:
Hello,
I noticed that formatting milliseconds appears to have a bug in it (or at
least not work in my environment) which I believe was introduced in revision
1.97 of NSCalendarDate.m
I think the milliseconds are accidentally getting truncated at line 1868 of
the current CVS file (1.110) with the statement:
v = (int)s;
I believe the correct line is
v = (int) (s * 1000);
Can anyone confirm this?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=14863>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnustep