aboutsummaryrefslogtreecommitdiff
path: root/module/datetime
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-06-23 23:57:17 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2022-07-07 21:14:09 +0200
commitd9354f040c8deffc673d58f9d1a7d10148954809 (patch)
treec9c11030ba51a227845b64b72a749c51dcb111bc /module/datetime
parentReplace datetime tests. (diff)
downloadcalp-d9354f040c8deffc673d58f9d1a7d10148954809.tar.gz
calp-d9354f040c8deffc673d58f9d1a7d10148954809.tar.xz
Fix datetime issues discovered due to new tests.
Diffstat (limited to 'module/datetime')
-rw-r--r--module/datetime/timespec.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/datetime/timespec.scm b/module/datetime/timespec.scm
index 03e8dd10..46f93a61 100644
--- a/module/datetime/timespec.scm
+++ b/module/datetime/timespec.scm
@@ -92,5 +92,5 @@
(make-timespec (string->time (string-drop string 1) "~H:~M:~S")
'- type)]
[else
- (make-timespec (string->time string "~H:~M:~S")
+ (make-timespec (string->time string "~H:~M:~S" return-trailing: #t)
'+ type)])))