aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2020-08-27 21:05:23 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2020-08-27 21:05:23 +0200
commit2c176f8699c1b54db70c82b0f117106f33b528be (patch)
treeaef33b88f0165f288a8dde03025c858123663587
parentWhoops, add (web uri-query). (diff)
parentFix ncal. (diff)
downloadcalp-2c176f8699c1b54db70c82b0f117106f33b528be.tar.gz
calp-2c176f8699c1b54db70c82b0f117106f33b528be.tar.xz
Merge branch 'master' of git.hornquist.se:git/calp into master
-rw-r--r--TODO6
-rw-r--r--module/vulgar/components.scm5
2 files changed, 2 insertions, 9 deletions
diff --git a/TODO b/TODO
index 7764043d..fe8b3bdc 100644
--- a/TODO
+++ b/TODO
@@ -6,12 +6,6 @@ XDG_CONFIG_HOME
Liknande för cache, genererade filer, med mera
Både när programmet körs som användare och som systemtjänst.
-Terminal
-========
-
-Handle systems with bad `cal' programs
---------------------------------------
-
HTML
====
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))))