diff options
author | default <nobody@localhost> | 2023-05-29 09:07:27 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2023-05-29 09:07:27 +0200 |
commit | 654e171b93f6fdc8c6a1a4b09e8cd4b2448617d0 (patch) | |
tree | 4cbecad784bd90ce277d778329b5444f2a308e49 /mastoapi.c | |
parent | e913d03f02e7472a7db4da66341153ecdc4c7fdb (diff) |
New macro ISO_DATE_SPEC.
Diffstat (limited to 'mastoapi.c')
-rw-r--r-- | mastoapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -524,7 +524,7 @@ xs_dict *mastoapi_account(const xs_dict *actor) acct = xs_dict_append(acct, "created_at", pub); else { /* unset created_at crashes Tusky, so lie like a mf */ - xs *date = xs_str_utctime(0, "%Y-%m-%dT%H:%M:%SZ"); + xs *date = xs_str_utctime(0, ISO_DATE_SPEC); acct = xs_dict_append(acct, "created_at", date); } |