From 102249de72f3e4b6f9fe0d8d2d71440dec68cf8e Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Fri, 23 Dec 2011 21:29:15 +0100 Subject: Completely decouple the core from the Hunchentoot frontend by depending on local-time for HTTP date formatting. --- mulkcms.lisp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mulkcms.lisp b/mulkcms.lisp index 45fdac6..bf77bae 100644 --- a/mulkcms.lisp +++ b/mulkcms.lisp @@ -188,8 +188,10 @@ path :row))) (list :headers `((:last-modified . - ,(hunchentoot:rfc-1123-date - (simple-date:timestamp-to-universal-time last-update)))) + ,(local-time:format-timestring + nil + (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))) (first cached-data) -- cgit v1.2.3