Due date issue

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
kainnon
Posts: 2
Joined: 02 Jan 2024, 09:54

Due date issue

Post 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
Attachments
Capture d’écran 2024-01-05 à 10.56.15.png
Capture d’écran 2024-01-05 à 10.56.15.png (14.87 KiB) Viewed 11858 times
Capture d’écran 2024-01-05 à 10.54.51.png
Capture d’écran 2024-01-05 à 10.54.51.png (79.73 KiB) Viewed 11858 times
cas
Posts: 1622
Joined: 11 Mar 2006, 16:08
Contact:

Re: Due date issue

Post 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';
kainnon
Posts: 2
Joined: 02 Jan 2024, 09:54

Re: Due date issue

Post 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
Post Reply