Data at Your Fingertips: Explore Our New Reporting and Statistical Capabilities By Ryan Ashbrook 6 hours ago
Gabriel Torres Posted March 6, 2019 Share Posted March 6, 2019 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 Link to comment Share on other sites More sharing options...
Yamamura Posted March 6, 2019 Share Posted March 6, 2019 Link to comment Share on other sites More sharing options...
Gabriel Torres Posted March 6, 2019 Author Share Posted March 6, 2019 @Takohashi Many thanks, you saved my day! Working like a charm now! 🙂 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.