aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2025-03-02 06:16:44 +0100
committerdefault <nobody@localhost>2025-03-02 06:16:44 +0100
commit9260a1e328cd3922c85c0794559e7a032c2e6d25 (patch)
tree241f2c88e8f63a1d03bae8ffa049255c1804b3d3 /main.c
parent8bd364bd49116b8b335272300ca05f25e1267df7 (diff)
Posts from the command line accept the DATE env var.
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 3cd4524..0913f10 100644
--- 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);