diff options
| -rw-r--r-- | html.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -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); |