]> Sergey Matveev's repositories - schwabrak.git/commitdiff
Compatibility with older zsh
authorSergey Matveev <stargrave@stargrave.org>
Thu, 21 Mar 2024 12:06:20 +0000 (15:06 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Thu, 21 Mar 2024 12:06:20 +0000 (15:06 +0300)
add

diff --git a/add b/add
index 04818bdcaaa6609182b7cdbdf70a528d720a90d4a210bfd0b696bd125e811624..4178303a50d0091f8a9e472c747ff197151a31ec5e4a3be5537b03cc7a367c67 100755 (executable)
--- a/add
+++ b/add
@@ -11,7 +11,7 @@ print $name
 mkdir issues/$name
 mkdir issues/$name/tags
 zmodload -F zsh/datetime b:strftime
-TZ=UTC strftime "%Y-%m-%d %H:%M:%S" > issues/$name/created
+TZ=UTC strftime "%Y-%m-%d %H:%M:%S" `date +%s` > issues/$name/created
 touch issues/$name/about issues/$name/result issues/$name/comment
 $EDITOR issues/$name/about
 git add issues/$name