aboutsummaryrefslogtreecommitdiff
path: root/module
diff options
context:
space:
mode:
Diffstat (limited to 'module')
-rw-r--r--module/output/html.scm3
-rw-r--r--module/vcomponent.scm4
-rw-r--r--module/vcomponent/primitive.scm2
3 files changed, 5 insertions, 4 deletions
diff --git a/module/output/html.scm b/module/output/html.scm
index 01736cac..23a7b9ac 100644
--- a/module/output/html.scm
+++ b/module/output/html.scm
@@ -198,7 +198,8 @@
(append (map (td '(class "prev"))
(iota month-start (- prev-month-len month-start)))
(map (td '(class "cur"))
- (map (lambda (d) `(a (@ (href "#" ,(date->string date "~Y-~m-") ,d)
+ (map (lambda (d) `(a (@ (href "#" ,(date->string date "~Y-~m-")
+ ,(when (< d 10) 0) ,d)
(class "hidelink")) ,d))
(iota month-len 1)))
(map (td '(class "next"))
diff --git a/module/vcomponent.scm b/module/vcomponent.scm
index 4ef8f794..6df4d7b8 100644
--- a/module/vcomponent.scm
+++ b/module/vcomponent.scm
@@ -63,7 +63,7 @@
(define (get-attr component attr)
(%vcomponent-get-attribute
component
- (as-string attr)))
+ (as-symb attr)))
(define (set-attr! component attr value)
(set! (car (get-attr component (as-string attr)))
@@ -123,7 +123,7 @@
(define-public copy-vcomponent %vcomponent-shallow-copy)
-(define-public filter-children! %vcomponent-filter-children!)
+;; (define-public filter-children! %vcomponent-filter-children!)
(define-public (extract field)
(lambda (e) (attr e field)))
diff --git a/module/vcomponent/primitive.scm b/module/vcomponent/primitive.scm
index b583d454..06b6fd83 100644
--- a/module/vcomponent/primitive.scm
+++ b/module/vcomponent/primitive.scm
@@ -3,7 +3,7 @@
(define-module (vcomponent primitive)
#:export (%vcomponent-children
%vcomponent-push-child!
- %vcomponent-filter-children!
+ ;; %vcomponent-filter-children!
%vcomponent-parent