aboutsummaryrefslogtreecommitdiff
path: root/module/vulgar
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2020-08-26 20:37:46 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2020-08-26 20:39:11 +0200
commit8171ba98a3df7d9d2cfc1489ef4ae363816e56bf (patch)
tree05bdabfa5a61c254f209bf9d0b532a3f9b77d26d /module/vulgar
parentBump version. (diff)
downloadcalp-8171ba98a3df7d9d2cfc1489ef4ae363816e56bf.tar.gz
calp-8171ba98a3df7d9d2cfc1489ef4ae363816e56bf.tar.xz
Fix ncal.
Diffstat (limited to 'module/vulgar')
-rw-r--r--module/vulgar/components.scm5
1 files changed, 2 insertions, 3 deletions
diff --git a/module/vulgar/components.scm b/module/vulgar/components.scm
index 3909d63f..2b018e4e 100644
--- a/module/vulgar/components.scm
+++ b/module/vulgar/components.scm
@@ -11,8 +11,7 @@
;; testing the functionality. This seems to at least give me
;; an (almost) working display, albeit ugly.
(if (file-exists? "/usr/bin/ncal")
- (system* "ncal" "-3" "-H" (format #f "~a-~a-~a"
- year month day)
- month year)
+ (system* "ncal" "-3" "-H" (date->string date)
+ month year)
(system* "cal" "-3" day month year))))