Page 1 of 1
Enter a date of last year in custom field
Posted: 06 Jan 2011, 04:43
by ada.fan
I have created a custom field with nature "Date". But I failed to update a date of year 2010 as current year is 2011.
Can anyone advise how I can input and update a date filed of last year?
Thanks so much.
Re: Enter a date of last year in custom field
Posted: 06 Jan 2011, 21:08
by atrol
I am not able to reproduce the problem.
Which version of MantisBT do you use?
Re: Enter a date of last year in custom field
Posted: 24 Jan 2013, 09:00
by Leonardo Colombi
In Mantis version 1.1.8 I solved this problem changing line
$t_start_year = $t_current;
with
$t_start_year = $t_current - 1;
in function print_year_range_option_list, that's inside core\date_api.php
Maybe in newer Mantis version this issue is already solved.