Explicitly convert seconds to an exact number - pee - Pee a password manager;Pee - because you have to...
(HTM) git clone git://vernunftzentrum.de/pee.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit 386d932093d8e4b120d3fafb9fa347067f62b3fe
(DIR) parent 2d36b79bc40e6a4fb8935d9153d4c5a27248b17d
(HTM) Author: Christian Kellermann <ckeen@pestilenz.org>
Date: Thu, 4 Oct 2018 16:15:05 +0200
Explicitly convert seconds to an exact number
Diffstat:
pee.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/pee.scm b/pee.scm
@@ -231,7 +231,7 @@
(make-list (length entries) "***")))
(comments (map third entries))
(dates (map (lambda (e)
- (time->string (seconds->local-time (fourth e)) "%Y-%m-%d %H:%M:%S"))
+ (time->string (seconds->local-time (inexact->exact (fourth e))) "%Y-%m-%d %H:%M:%S"))
entries)))
(fmt #t
(tabular