We have a small problem with the article dates. When we write a blog post, we usually write the date when we start writing it, or maybe when we open the PR. But then, we leave the PR open for a week or so to get feedback, update the article, etc. So we end up publishing an article with a publish date from last week.
Personally, I usually check the date on an article when I read it, and if it's older than a couple of days, my interest in it decreases a bit. Also, if we ever hope that our articles will be picked by weekly newsletters, we need to make sure that the publish date is correct because those kind of newsletters don't usually include 1-week old articles.
I don't know exactly how our setup works, I'm assuming there's an automated deploy when something is pushed to master. Can we have some kind of system / bot that automatically updates the date of the article when the PR is merged into master, basically, before it's deployed?
If not, should we set up some rules, for example:
- always publish articles on the same day of the week (let's say Monday)
- when you start writing your article, set the date for next Monday, considering you'll have the PR reviewed for about a week
Or, the one who merges the PR into master manually updates the date. But I'm sure we'll always forget to do that.
Those are just some examples I thought of now. Ideally, an automated solution would be best.