summaryrefslogtreecommitdiff
path: root/smp.1
diff options
context:
space:
mode:
authorQrius <[email protected]>2024-09-26 00:11:05 +0200
committerQrius <[email protected]>2024-09-26 00:11:05 +0200
commit8e6be2a3092db112a5e59042b678654576d57d32 (patch)
treef390bb9f81a4e3cdcbad225e2253b4e13395a781 /smp.1
parent148014c53ee125c8867a20feda2c3df8381f9460 (diff)
downloadskaldpress-8e6be2a3092db112a5e59042b678654576d57d32.tar.gz
skaldpress-8e6be2a3092db112a5e59042b678654576d57d32.zip
Fix buggy implementation of format_time
Diffstat (limited to 'smp.1')
-rw-r--r--smp.14
1 files changed, 4 insertions, 0 deletions
diff --git a/smp.1 b/smp.1
index d38e6fd..3cdab73 100644
--- a/smp.1
+++ b/smp.1
@@ -36,6 +36,10 @@ Runs command on shell, and includes the command output in the output
.IP "\fBexpr(<arg1>, <arg2>, ..., <argN>)\fR"
Shorthand for running the expr command, expands all arguments, and executes it on the shell.
+.IP "\fBformat_time(<format>, <time>)\fR"
+Format a RFC3339-timestamp to the specified format. Format is similar to strftime.
+Only available if the \fBtime\fR-feature was enabled during compilation.
+
.SH OPTIONS
If a input file is provided, that will be processed.
If not, a sort of interactive REPL will be started instead.