Jump to content

Date display issues with Pages after upgrading to 4.0


Gabriel Torres

Recommended Posts

Hi,

We are facing an issue here with the display of dates after upgrading to 4.0. See if you can help me.

He have the problem both in Pages and in Forums.

In our Pages templates, we use something like this:

{datetime="$record->field_last_updated"}

{datetime="$record->field_last_updated"}

This is converted to:

<time datetime='2019-03-01T10:25:00Z' title='01-03-2019 07:25 ' data-short='4 dy'></time>

If the article is older, the date shows up fine. However, if it is newer article, where the relative date would be used, the date is displayed blank at the front-end, even though the HTML is the above.

Upon further inspection, I see this is also happing in the Forums, so it isn't relative to Pages. Wherever the date is relative to "days", it isn't showing up.

See screenshot.

Maybe this is a configuration issue?

I'd appreciate any pointers.

Cheers,

Gabriel

relative-date-issue.png

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...