question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Post Modified Date Not Updated

See original GitHub issue

After updating to 1.21.6 Last Updated Post date Helper not working

{{date updated_at format='YYYY-MM-DD'}}
{{date updated_at format="DD MMMM YYYY"}}

Example:

I publish the Post on 08 Jun 2017, next update the post on 08 September 2017 It will display the Updated post date (08 September 2017) Again I update the post on 21 March 2018 But it has shown the 08 September 2017 Date only Now I revert back to Normal date format helper 😦 {{date format="D MMMM YYYY"}}

PS: Same issue on Schema Markup & Meta Article Modified Tag

Technical details:

  • Ghost Version:1.21.6

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
mskiancommented, Mar 26, 2018

@kirrg001 welcome 😃

1reaction
aileencommented, Mar 22, 2018

Hey @mskian,

I am not able to reproduce your issue.

When I change the date helper in my post.hbs to this:

{{date updated_at format="D MMMM YYYY hh:mm:ss"}} (I displayed the time as well for testing purposes)

I can’t see any issue. I took an older post, updated it -> worked fine. Then updated it again after a while, and it still worked fine.

Also the meta data gets updated correctly for me.

Can you please check again and let me know, if I missed steps to reproduce it?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Modified time not updated on scheduled post - WordPress.org
Hi,. When a scheduled post gets published, the “modified_time” is not updated. This is the example from my site: <meta property=”article:published_time” ...
Read more >
How to Display the Last Updated Date of Your Posts in ...
When you do a minor update to a post, simply check that box and the modified date will not be changed. Method 2:...
Read more >
Updating post modified date - ACF Support
We would like to update the modified date anytime a front-end post is edited. Here is our code for the front end form...
Read more >
WordPress will update the modified date w - Brogramo
WordPress will update the modified date when you update the post status or make minor edits. This post will show you how to...
Read more >
File Date Modified is Not Updating - Microsoft Community
I'm running an app that is writing a log in a text file. I'm watching the file in Windows Explorer so I can...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found