diff options
| author | 2025-04-13 14:12:37 +0200 | |
|---|---|---|
| committer | 2025-04-13 14:12:37 +0200 | |
| commit | 81538904210e9092760ce7c6b043eaaa166509b6 (patch) | |
| tree | 69f924a63fc8e5ef8f9832044a4b36e2baeb3efc /html.c | |
| parent | Updated po files. (diff) | |
| download | penes-snac2-81538904210e9092760ce7c6b043eaaa166509b6.tar.gz penes-snac2-81538904210e9092760ce7c6b043eaaa166509b6.tar.xz penes-snac2-81538904210e9092760ce7c6b043eaaa166509b6.zip | |
More timezone tweaks.
Diffstat (limited to 'html.c')
| -rw-r--r-- | html.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -4369,7 +4369,7 @@ int html_post_handler(const xs_dict *req, const char *q_path, | |||
| 4369 | if (t != 0) { | 4369 | if (t != 0) { |
| 4370 | const char *tz = xs_dict_get_def(snac.config, "tz", "UTC"); | 4370 | const char *tz = xs_dict_get_def(snac.config, "tz", "UTC"); |
| 4371 | 4371 | ||
| 4372 | t += xs_tz_offset(tz); | 4372 | t -= xs_tz_offset(tz); |
| 4373 | 4373 | ||
| 4374 | xs *iso_date = xs_str_iso_date(t); | 4374 | xs *iso_date = xs_str_iso_date(t); |
| 4375 | msg = xs_dict_set(msg, "published", iso_date); | 4375 | msg = xs_dict_set(msg, "published", iso_date); |