View Issue Details

IDProjectCategoryView StatusLast Update
0003641mantisbtotherpublic2004-07-08 07:26
Reporterjbrugger Assigned Tovboctor  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Fixed in Version0.19.0a1 
Summary0003641: 'Date submited' in reports is always '12-31-69'
Description

In the detailed reports generated for Word or HTML, the date showed in the 'date submited' field is always '12-31-69'
The path i used to access these reports is Project Home Page/View Bugs/Print Reports/ and click then in the word icon or explorer icon.

TagsNo tags attached.

Activities

RJelinek

RJelinek

2004-03-22 10:30

reporter   ~0005240

Sorry, I dont have a diff, so you have to do the following...
In Filter.api(213):
$query2 = "SELECT DISTINCT $t_select, UNIX_TIMESTAMP(last_updated) as last_updated, UNIX_TIMESTAMP(date_submitted) as date_submitted

xbromy2

xbromy2

2004-03-31 07:34

reporter   ~0005304

or you can do a little hack in your print_all_bug_page_word.php
replace the line

<?php print_date( config_get( 'normal_date_format' ), $v_date_submitted ) ?>

by

<?php print_date( config_get( 'normal_date_format' ), strtotime($v_date_submitted) ) ?>

vboctor

vboctor

2004-04-01 06:51

manager   ~0005314

Fixed in CVS (core/filter_api.php). Will be included in the next release.