Align code

This commit is contained in:
Patrick Winter 2019-01-15 20:45:08 +01:00
parent d19449a0c0
commit e91c0e4970

View file

@ -225,10 +225,10 @@ the front and focus it. Otherwise, create one and load the data."
"Turn the taskwarrior timestamp into a readable format" "Turn the taskwarrior timestamp into a readable format"
(if (not ts) (if (not ts)
ts ts
(let ((year (substring ts 0 4)) (let ((year (substring ts 0 4))
(month (substring ts 4 6)) (month (substring ts 4 6))
(day (substring ts 6 8)) (day (substring ts 6 8))
(hour (substring ts 9 11)) (hour (substring ts 9 11))
(minute (substring ts 11 13)) (minute (substring ts 11 13))
(second (substring ts 13 15))) (second (substring ts 13 15)))
(format "%s-%s-%s %s:%s:%s" year month day hour minute second)))) (format "%s-%s-%s %s:%s:%s" year month day hour minute second))))