MantisBT: master-2.25 dbafafa9

Author Committer Branch Timestamp Parent
ricardoalonsos dregad master-2.25 2022-12-19 06:38 master-2.25 8f53f0f7
Affected Issues  0031836: Date conversion fails when editing a project version using a non-US date format
Changeset

Fix project version edit failing with non-US dates

If $g_normal_date_format is not an US format, strtotime will fail. So
first create a datetimeimmutable with the user specified format and
perform the string conversion.

Fixes 0031836

Signed-off-by: Damien Regad <dregad@mantisbt.org>

mod - core/version_api.php Diff File