summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Johnson <mail@nicholasjohnson.ch>2024-11-07 00:00:00 +0000
committerNicholas Johnson <mail@nicholasjohnson.ch>2024-11-07 00:00:00 +0000
commitf4121b5fb77c83cc04e53daff9f340d6f94cca4625f0f4f2c169fb86f439c7a4 (patch)
treede90fe6004c29e285d441668c869f509580bf6c345730a73a61fb0a5ea4fcce4
parente04c22dbb133e76da41874a8ff93fe7a87e46746bde735b014ef223e68af51c7 (diff)
downloadjournal-f4121b5fb77c83cc04e53daff9f340d6f94cca4625f0f4f2c169fb86f439c7a4.tar.gz
journal-f4121b5fb77c83cc04e53daff9f340d6f94cca4625f0f4f2c169fb86f439c7a4.zip
Parse dates without time zone offsets as UTC
Early entries are missing time zone offsets. They're implicitly treated as UTC. This just makes that behavior more explicit.
-rw-r--r--config/_default/hugo.toml1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/_default/hugo.toml b/config/_default/hugo.toml
index bdf46e4..438f694 100644
--- a/config/_default/hugo.toml
+++ b/config/_default/hugo.toml
@@ -9,6 +9,7 @@ enableEmoji = true
cleanDestinationDir = true
ignoreFiles = ['templates/logo\.txt$']
disableHugoGeneratorInject = true
+timeZone = "UTC"
[permalinks]
entry = "/:year/:month/:day/:filename"