This PR updates the config/article.js template to set the openCommentsAt flag based on the publishedDate value. (If a developer wants to configure this date separately from the publishedDate, all they need to do is add an entry to the config element right below it.
This PR updates the
config/article.js
template to set theopenCommentsAt
flag based on thepublishedDate
value. (If a developer wants to configure this date separately from thepublishedDate
, all they need to do is add an entry to theconfig
element right below it.This config is used by my new PR in
g-components
to avoid starting the 48-hour comment window until after the publication date: https://github.com/Financial-Times/g-components/pull/252