diff options
| author | 2023-05-29 09:07:27 +0200 | |
|---|---|---|
| committer | 2023-05-29 09:07:27 +0200 | |
| commit | 654e171b93f6fdc8c6a1a4b09e8cd4b2448617d0 (patch) | |
| tree | 4cbecad784bd90ce277d778329b5444f2a308e49 /data.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 'data.c')
| -rw-r--r-- | data.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -1688,7 +1688,7 @@ void notify_add(snac *snac, const char *type, const char *utype, | |||
| 1688 | { | 1688 | { |
| 1689 | xs *ntid = tid(0); | 1689 | xs *ntid = tid(0); |
| 1690 | xs *fn = xs_fmt("%s/notify/", snac->basedir); | 1690 | xs *fn = xs_fmt("%s/notify/", snac->basedir); |
| 1691 | xs *date = xs_str_utctime(0, "%Y-%m-%dT%H:%M:%SZ"); | 1691 | xs *date = xs_str_utctime(0, ISO_DATE_SPEC); |
| 1692 | FILE *f; | 1692 | FILE *f; |
| 1693 | 1693 | ||
| 1694 | /* create the directory */ | 1694 | /* create the directory */ |