summaryrefslogtreecommitdiff
path: root/utils.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 /utils.c
parente913d03f02e7472a7db4da66341153ecdc4c7fdb (diff)
New macro ISO_DATE_SPEC.
Diffstat (limited to 'utils.c')
-rw-r--r--utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils.c b/utils.c
index 8594d84..7d51b82 100644
--- a/utils.c
+++ b/utils.c
@@ -218,7 +218,7 @@ int adduser(const char *uid)
{
snac snac;
xs *config = xs_dict_new();
- xs *date = xs_str_utctime(0, "%Y-%m-%dT%H:%M:%SZ");
+ xs *date = xs_str_utctime(0, ISO_DATE_SPEC);
xs *pwd = NULL;
xs *pwd_f = NULL;
xs *key = NULL;