diff options
| author | 2023-05-29 09:07:27 +0200 | |
|---|---|---|
| committer | 2023-05-29 09:07:27 +0200 | |
| commit | 654e171b93f6fdc8c6a1a4b09e8cd4b2448617d0 (patch) | |
| tree | 4cbecad784bd90ce277d778329b5444f2a308e49 /mastoapi.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 '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) | |||
| 524 | acct = xs_dict_append(acct, "created_at", pub); | 524 | acct = xs_dict_append(acct, "created_at", pub); |
| 525 | else { | 525 | else { |
| 526 | /* unset created_at crashes Tusky, so lie like a mf */ | 526 | /* unset created_at crashes Tusky, so lie like a mf */ |
| 527 | xs *date = xs_str_utctime(0, "%Y-%m-%dT%H:%M:%SZ"); | 527 | xs *date = xs_str_utctime(0, ISO_DATE_SPEC); |
| 528 | acct = xs_dict_append(acct, "created_at", date); | 528 | acct = xs_dict_append(acct, "created_at", date); |
| 529 | } | 529 | } |
| 530 | 530 | ||