aboutsummaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2025-04-13 14:12:37 +0200
committerdefault <nobody@localhost>2025-04-13 14:12:37 +0200
commit81538904210e9092760ce7c6b043eaaa166509b6 (patch)
tree69f924a63fc8e5ef8f9832044a4b36e2baeb3efc /html.c
parent29c9d6c166206f06c138c65b23c92f1b1db419a4 (diff)
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,
if (t != 0) {
const char *tz = xs_dict_get_def(snac.config, "tz", "UTC");
- t += xs_tz_offset(tz);
+ t -= xs_tz_offset(tz);
xs *iso_date = xs_str_iso_date(t);
msg = xs_dict_set(msg, "published", iso_date);