"Invalid Date" and "Y-m-d" errors after upgrade from OJS 3.3.0.9 to 3.5.0.1

Describe the issue or problem
In the submission workflow and on the public back issues page, some dates are displaying as “Invalid Date”, “NaN”

What application are you using?
For example, OJS 3.5.0.1

Additional information
i have read a a post with same issue and tried to follow the steps suggested there: like changing the date format in the config file to the same on in the config Template, but I am still facing the same issue.
Thanks in advance

Please refer to this solution.

Correct php time format

Refer the correct format

Php timezones

1 Like

Thanks @mohd_arshad it solved the issue.