Page 1 of 1

Due date issue

Posted: 05 Jan 2024, 09:57
by kainnon
Hello,

I just followed this tutorial to enable Due Date :
https://support.mantishub.com/hc/en-us/ ... e-tracking

But I currently have 2 issues :

1- The due date is automatically set in 2020 and not 2024

2- When I change the due date to 31/01/2024 (dd/mm/yyyy) for example, this set the date to 24/01/2031 (yy/mm/yydd) other example : 23/01/2032 -> 32/01/2023. You can see that the date is blended.

Did you have any solution about this?

Thanks in advance

Re: Due date issue

Posted: 05 Jan 2024, 12:12
by cas
Did youmake any change to these settings:
/**
* Date format strings defaults to ISO 8601 formatting.
* For detailed instructions on date formatting
* @see http://www.php.net/manual/en/function.date.php
* @global string $g_short_date_format
*/
$g_short_date_format = 'Y-m-d';

/**
* Date format strings defaults to ISO 8601 formatting.
* For detailed instructions on date formatting
* @see http://www.php.net/manual/en/function.date.php
* @global string $g_normal_date_format
*/
$g_normal_date_format = 'Y-m-d H:i';

/**
* Date format strings defaults to ISO 8601 formatting.
* For detailed instructions on date formatting
* @see http://www.php.net/manual/en/function.date.php
* @global string $g_complete_date_format
*/
$g_complete_date_format = 'Y-m-d H:i T';

/**
* Datetime picker widget format string.
* This format needs needs to match the one defined in {@see $g_normal_date_format}
* For detailed instructions on date formatting
* @see http://momentjs.com/docs/#/displaying/format/
* @global string $g_datetime_picker_format
*/
$g_datetime_picker_format = 'Y-MM-DD HH:mm';

Re: Due date issue

Posted: 05 Jan 2024, 12:51
by kainnon
Yeah exact, I changed the normal_date by d/M/y

Now replaced by dd/m/y and that's work !

Thanks for your help