commit f1f288699805b13bcd8f296667923ae5d2ae45ed
parent 9a238a937e31b36e7ee35109c09764019ee3af1f
Author: default <nobody@localhost>
Date: Sun, 13 Apr 2025 09:33:17 +0200
Fixed offset sign because I'm a MORON.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/html.c b/html.c
@@ -4367,7 +4367,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);