this allows a developer to override the current date and time on the front end for testing.
in site config.toml set "forceCurrentTime" to something useful. for example:
[context.deploy-preview]
# this command builds draft content for deploy previews
command = 'hugo -D && cp public/404/index.html public/404.html'
[context.production]
# Note that there are two versions of the below command
# drafts are excluded (no `-D` option to hugo) for prod build.
command = 'hugo ...
this allows a developer to override the current date and time on the front end for testing. in site
config.toml
set "forceCurrentTime" to something useful. for example:as a safety, it only works when building drafts. preview deploys use drafts, but production does not. re: https://github.com/shift-org/shift-docs/blob/main/netlify.toml