View Issue Details

IDProjectCategoryView StatusLast Update
0008526mantisbtapi soappublic2016-09-30 14:40
Reportervboctor Assigned Todregad  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionno change required 
Product Version1.1.0rc2 
Summary0008526: version_api should return date_order in unixtimestamp format
Description

The date order should be returned in unixtimestamp format.

TagsNo tags attached.

Activities

ebenius

ebenius

2008-02-11 09:05

reporter   ~0017007

Last edited: 2008-02-11 09:05

Not yet fixed in 1.1.1, although target version is 1.1.0rc3? Did you forget about this issue?

4t0m1k

4t0m1k

2008-09-12 06:13

reporter   ~0019391

Last edited: 2008-09-12 07:28

Resolution on 1.1.2 Stable :

Open core/version_api.php

Goto line 130 :

change $c_date_order = db_now();
into $c_date_order = db_date();

Goto line 132 :

change $c_date_order = db_timestamp( $p_date_order );
into $c_date_order = db_date( $p_date_order );

Goto line 142 :

change " . $c_date_order . "
into '" . $c_date_order . "'

That's it! =)

artgroup

artgroup

2008-09-22 19:29

reporter   ~0019427

i try and seems not working corretly on 1.1.2 nor when I add a version nor when I copy a version from other project.
This is what I did and seems to work even if I'm not an expert of php..but i'm lucky! :)

change line 132 to:
$c_date_order = db_timestamp(db_date( $p_date_order ));
from the original:
db_timestamp( $p_date_order );

nothing else

dregad

dregad

2016-09-17 10:03

developer   ~0054038

I'm not sure what the original issue was, but as far as I can tell there are no issues with the date order in current MantisBT versions (>= 1.2) so I'm resolving the issue.

Feel free to reopen and provide clarification if you feel this is not fixed.