commit 9260a1e328cd3922c85c0794559e7a032c2e6d25
parent 8bd364bd49116b8b335272300ca05f25e1267df7
Author: default <nobody@localhost>
Date: Sun, 2 Mar 2025 06:16:44 +0100
Posts from the command line accept the DATE env var.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/main.c b/main.c
@@ -710,7 +710,7 @@ int main(int argc, char *argv[])
if (strcmp(cmd, "note_unlisted") == 0)
scope = 2;
- msg = msg_note(&snac, content, NULL, NULL, attl, scope, getenv("LANG"), NULL);
+ msg = msg_note(&snac, content, NULL, NULL, attl, scope, getenv("LANG"), getenv("DATE"));
c_msg = msg_create(&snac, msg);