commit 9260a1e
default
·
2025-03-02 05:16:44 +0000 UTC
parent 8bd364b
Posts from the command line accept the DATE env var.
1 files changed,
+1,
-1
M
main.c
M
main.c
+1,
-1
1@@ -710,7 +710,7 @@ int main(int argc, char *argv[])
2 if (strcmp(cmd, "note_unlisted") == 0)
3 scope = 2;
4
5- msg = msg_note(&snac, content, NULL, NULL, attl, scope, getenv("LANG"), NULL);
6+ msg = msg_note(&snac, content, NULL, NULL, attl, scope, getenv("LANG"), getenv("DATE"));
7
8 c_msg = msg_create(&snac, msg);
9