Nan for days in submissions

**NaN for days

I’m new to OJS and I’m not sure why this NaN is showing.**

HI @candelariajr,

Can you please indicate the specific version in each of your posts (e.g. note that you are specifically using 3.5.0-4), this will help other users in responding to your posts. I note that you posted recently about an Invalid DateTime error. This may be tied to that issue as well, so please try what was suggested in your previous post about checking the config file to see if the timezone is configured appropriately.

-Roger
PKP Team

Yes. It is 3.5.0.4

I tried changing the date time to "time_zone = “America/New_York” in config.inc.php.

That didn’t work.

Hi @candelariajr,

Thanks for trying that. There is another post here that refers to checking the PHP time format:

Perhaps you could try that next?

-Roger
PKP Team

I literally just requested our systems team to check that!
Also requested to make sure config.php and config.inc.php have the same config.

The API shows dates as: “Y-m-d H:i:s”
config.inc.php is:
datetime_format_short = “Y-m-d h:i A”
datetime_format_long = “F j, Y - h:i A”
time_format = “h:i A”

Is that enough to cause an issue?

Hi @candelariajr,

Those seem accurate to me. They seem to match what is in our standardized config file:

-Roger
PKP Team

The systems people said they tried both those solutions. It’s still happening. Do they need to correct the config.php on the web server level?

Hi @candelariajr,

Okay thanks - I’m not sure what more to suggest here. The config.inc.php file I’m referring to is the one that’s stored alongside the OJS code files. Can you confirm that the changes are made there? And, if so, I’ll see if another one of our team members can suggest something else.

-Roger
PKP Team