Updating post timestamp before first publishing

Is there an easy way to update / regenerate a timestamp for posts before making them live or do I need to edit them manually? The current timestamp is when they are generated.

I use Visual Studio Code, and use a keyboard shortcut to insert a timestamp such as 2021-02-23T10:10:49-08:00. This capability is provided by the Insert Date String extension.

When I need to update an existing value, I select the text then press Ctrl + Shift + I.

Look at regex matching with find/replace if you need to update many posts at a single time.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.