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

 
 

You are not allowed to post comments on this tracker with your current authentication level.

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

Submitted by:  Matthew Jimenez <mjimenez>
Submitted on:  Tue 25 Oct 2005 10:13:10 PM UTC  
 
Category: Base/FoundationSeverity: 3 - Normal
Item Group: BugStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

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>
Project 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>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Wed 26 Oct 2005 02:36:45 PM UTCCaSOpen/ClosedOpen=>Closed
Wed 26 Oct 2005 02:36:44 PM UTCCaSStatusNone=>Fixed

Back to the top


Powered by Savane 3.1-cleanup1