View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0026906||mantisbt||bugtracker||public||2020-04-22 08:00||2020-05-18 16:04|
|Summary||0026906: Due_date_default setting is not populating when specific normal_date_format configured|
When configuring a due date default value, the default due date value is not appearing when creating new tickets.
Testing shows that this only occurs when the normal_date_format has been configured to include "D" or "M" denoting textual representation of day or month.
|Steps To Reproduce|
Configure due_date_default to any value (e.g. 'today', '+4 days')
|Tags||No tags attached.|
I can reproduce this on my dev box.
@sandyj Did you set $g_datetime_picker_format as appropriate to match the $g_normal_date_format config ?
@dregad no, but tested it just now. If I set:
So looks like date_picker config does not fix the issue and breaks the working condition. Date setting I was using to test is d-M-Y H:i or d-m-Y H:i
Not sure you're aware that $g_datetime_picker_format uses moment.js format, not the PHP standard used for our other date formats.
In your case, PHP
Closing as duplicate of 0022558.