summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2011-12-23 21:39:25 +0100
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2011-12-23 21:39:25 +0100
commit7716246bac95b6fcaee683a25d227427f9b8b4d6 (patch)
tree2f359b69672018f418cb6eff8a4874fa6c8b59a5
parentcc294fe404c750acacca7385cd1d14572eeb6643 (diff)
Fix the usage of local-time.
-rw-r--r--mulkcms.lisp3
1 files changed, 2 insertions, 1 deletions
diff --git a/mulkcms.lisp b/mulkcms.lisp
index bf77bae..2bea7c5 100644
--- a/mulkcms.lisp
+++ b/mulkcms.lisp
@@ -190,7 +190,8 @@
(list :headers `((:last-modified .
,(local-time:format-timestring
nil
- (simple-date:timestamp-to-universal-time last-update)
+ (local-time:universal-to-timestamp
+ (simple-date:timestamp-to-universal-time last-update))
:format local-time:+rfc-1123-format+)))
:content-type content-type
(if (and cached-data (simple-date:time< last-update (second cached-data)))