rewrite non portable code
This commit is contained in:
parent
281be573c5
commit
d5ee9d046d
2
idec.el
2
idec.el
|
@ -69,7 +69,7 @@ put cursor to CHECKPOINT."
|
|||
(concat
|
||||
(gethash "tags" msg) "\n"
|
||||
(gethash "echo" msg) "\n"
|
||||
(shell-command-to-string (concat "date -d '" (gethash "time" msg) "' +%s"))
|
||||
(nth 0 (split-string (number-to-string (time-to-seconds (date-to-time (gethash "time" msg)))) "\\.")) "\n"
|
||||
(gethash "author" msg) "\n"
|
||||
(gethash "address" msg) "\n"
|
||||
(gethash "recipient" msg) "\n"
|
||||
|
|
Loading…
Reference in New Issue
Block a user