summaryrefslogtreecommitdiff
path: root/data.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2023-05-29 09:07:27 +0200
committerdefault <nobody@localhost>2023-05-29 09:07:27 +0200
commit654e171b93f6fdc8c6a1a4b09e8cd4b2448617d0 (patch)
tree4cbecad784bd90ce277d778329b5444f2a308e49 /data.c
parente913d03f02e7472a7db4da66341153ecdc4c7fdb (diff)
New macro ISO_DATE_SPEC.
Diffstat (limited to 'data.c')
-rw-r--r--data.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/data.c b/data.c
index fa079cc..303b534 100644
--- a/data.c
+++ b/data.c
@@ -1688,7 +1688,7 @@ void notify_add(snac *snac, const char *type, const char *utype,
{
xs *ntid = tid(0);
xs *fn = xs_fmt("%s/notify/", snac->basedir);
- xs *date = xs_str_utctime(0, "%Y-%m-%dT%H:%M:%SZ");
+ xs *date = xs_str_utctime(0, ISO_DATE_SPEC);
FILE *f;
/* create the directory */