diff options
| author | 2023-05-29 09:07:27 +0200 | |
|---|---|---|
| committer | 2023-05-29 09:07:27 +0200 | |
| commit | 654e171b93f6fdc8c6a1a4b09e8cd4b2448617d0 (patch) | |
| tree | 4cbecad784bd90ce277d778329b5444f2a308e49 /html.c | |
| parent | Fixed some bugs in update_question(). (diff) | |
| download | snac2-654e171b93f6fdc8c6a1a4b09e8cd4b2448617d0.tar.gz snac2-654e171b93f6fdc8c6a1a4b09e8cd4b2448617d0.tar.xz snac2-654e171b93f6fdc8c6a1a4b09e8cd4b2448617d0.zip | |
New macro ISO_DATE_SPEC.
Diffstat (limited to 'html.c')
| -rw-r--r-- | html.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -1756,7 +1756,7 @@ int html_post_handler(const xs_dict *req, const char *q_path, | |||
| 1756 | } | 1756 | } |
| 1757 | 1757 | ||
| 1758 | /* set the updated field */ | 1758 | /* set the updated field */ |
| 1759 | xs *updated = xs_str_utctime(0, "%Y-%m-%dT%H:%M:%SZ"); | 1759 | xs *updated = xs_str_utctime(0, ISO_DATE_SPEC); |
| 1760 | msg = xs_dict_set(msg, "updated", updated); | 1760 | msg = xs_dict_set(msg, "updated", updated); |
| 1761 | 1761 | ||
| 1762 | /* overwrite object, not updating the indexes */ | 1762 | /* overwrite object, not updating the indexes */ |