summaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
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 afbc716..b04e001 100644
--- a/html.c
+++ b/html.c
@@ -4367,7 +4367,7 @@ int html_post_handler(const xs_dict *req, const char *q_path,
4367 if (t != 0) { 4367 if (t != 0) {
4368 const char *tz = xs_dict_get_def(snac.config, "tz", "UTC"); 4368 const char *tz = xs_dict_get_def(snac.config, "tz", "UTC");
4369 4369
4370 t -= xs_tz_offset(tz); 4370 t += xs_tz_offset(tz);
4371 4371
4372 xs *iso_date = xs_str_iso_date(t); 4372 xs *iso_date = xs_str_iso_date(t);
4373 msg = xs_dict_set(msg, "published", iso_date); 4373 msg = xs_dict_set(msg, "published", iso_date);