Sign in
We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

Modify the last updated (modified_at) field

  • This topic has 0 replies, 1 voice, and was last updated 1 month, 3 weeks ago by Avatar photoSirHarryBewes.
Viewing 1 post (of 1 total)
  • Author
  • #11456
    Avatar photoSirHarryBewes

    Sometimes I want to modify a post, but only to make a very minor correction (like fixing some punctuation, or a spacing issue). To my mind, this does not really merit a change to the last updated (modified_at) field. In fact, at least sometimes, this might be a little confusing—and it may imply to readers that the post has been updated more generally.

    • Could we make it so that this field can be changed via the post editor?
    • Or, is there some existing way of doing this through the UI that I’ve missed?
    • In case helpful to others seeking the same thing, and if you are feeling bold, you can modify the database entries directly:
      • Navigate to the input directory, ie ../Publii/sites/<SITE-NAME>/input/.
      • Open db.sqlite using your preferred SQLite editor.
      • Open the posts table, locate the relevant row, and adjust the timestamp of modified_at directly.
Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.