]> git.ipfire.org Git - thirdparty/curl.git/commit
writeout: add %time{}
authorDaniel Stenberg <daniel@haxx.se>
Thu, 31 Jul 2025 14:41:36 +0000 (16:41 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 4 Aug 2025 21:45:48 +0000 (23:45 +0200)
commitfadc4875670a0b0d484b710baa91b353957f4fe4
tree58fe5287f076e7d243166ae36df3124b55c33ae7
parent5b80b4c0121b69e9a9209d6734098181356b3d23
writeout: add %time{}

Output the current UTC time using strftime format. %f is an extra curl
specific flag to output the microsecond fraction of the current second.

Verified by test 1981

Closes #18119
docs/cmdline-opts/write-out.md
src/tool_writeout.c
tests/data/Makefile.am
tests/data/test1981 [new file with mode: 0644]
tests/test1486.pl