summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--haunt/post.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/haunt/post.scm b/haunt/post.scm
index 0a0bb8d..ebe2689 100644
--- a/haunt/post.scm
+++ b/haunt/post.scm
@@ -86,7 +86,7 @@ specified."
(or (post-ref post 'date) %default-date))
(define (post-time post)
- (date->time-utc (post-ref post 'date)))
+ (date->time-utc (post-date post)))
(define (posts/reverse-chronological posts)
"Returns POSTS sorted in reverse chronological order."