summaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authorGravatar default2025-04-13 14:12:37 +0200
committerGravatar default2025-04-13 14:12:37 +0200
commit81538904210e9092760ce7c6b043eaaa166509b6 (patch)
tree69f924a63fc8e5ef8f9832044a4b36e2baeb3efc /html.c
parentUpdated po files. (diff)
downloadpenes-snac2-81538904210e9092760ce7c6b043eaaa166509b6.tar.gz
penes-snac2-81538904210e9092760ce7c6b043eaaa166509b6.tar.xz
penes-snac2-81538904210e9092760ce7c6b043eaaa166509b6.zip
More timezone tweaks.
Diffstat (limited to 'html.c')
-rw-r--r--html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/html.c b/html.c
index 68a6b73..a6f79de 100644
--- a/html.c
+++ b/html.c
@@ -4369,7 +4369,7 @@ int html_post_handler(const xs_dict *req, const char *q_path,
4369 if (t != 0) { 4369 if (t != 0) {
4370 const char *tz = xs_dict_get_def(snac.config, "tz", "UTC"); 4370 const char *tz = xs_dict_get_def(snac.config, "tz", "UTC");
4371 4371
4372 t += xs_tz_offset(tz); 4372 t -= xs_tz_offset(tz);
4373 4373
4374 xs *iso_date = xs_str_iso_date(t); 4374 xs *iso_date = xs_str_iso_date(t);
4375 msg = xs_dict_set(msg, "published", iso_date); 4375 msg = xs_dict_set(msg, "published", iso_date);