bugGNUstep - Bugs: bug #14863, [[NSCalendarDate date]...

Group
 
 

bug #14863: [[NSCalendarDate date] descriptionWithCalendarFormat:@"%F"] always returns @"000"

Submitter:  Matthew Jimenez <mjimenez>
Submitted:  Tue 25 Oct 2005 10:13:10 PM UTC
   
 
Category:  Base/Foundation Severity:  3 - Normal
Item Group:  Bug Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 26 Oct 2005 02:36:45 PM UTC, comment #1: 

Thanks for the detailed report.
I have fixed that bug in CVS.

Richard Frith-Macdonald <CaS>
Group Member
Tue 25 Oct 2005 10:13:10 PM UTC, original submission:  

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?

Matthew Jimenez <mjimenez>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follow 2 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-10-26 CaS Open/ClosedOpen Closed
2005-10-26 CaS StatusNone Fixed

Back to the top

Powered by Savane 3.13-02a9.
Corresponding source code