Skip to content

Commit

Permalink
Add zone to format-machine-date
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinmera committed Apr 16, 2024
1 parent 8d826c7 commit 53f0926
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion toolkit.lisp
Expand Up @@ -69,7 +69,7 @@
(defun format-machine-date (stamp &optional stream)
(when (integerp stamp) (setf stamp (local-time:universal-to-timestamp stamp)))
(local-time:format-timestring
stream stamp :format '((:year 4) "-" (:month 2) "-" (:day 2) "T" (:hour 2) ":" (:min 2) ":" (:sec 2))
stream stamp :format '((:year 4) "-" (:month 2) "-" (:day 2) "T" (:hour 2) ":" (:min 2) ":" (:sec 2) "Z")
:timezone local-time:+utc-zone+))

(defun format-human-date (stamp &optional stream)
Expand Down

0 comments on commit 53f0926

Please sign in to comment.