Procházet zdrojové kódy

Fixed offset sign because I'm a MORON.

default před 1 rokem
rodič
revize
f1f2886998
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      html.c

+ 1 - 1
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);