Cleanup make-pubdate based on information from cl-test-grid. Thanks Fare!
This commit is contained in:
parent
149c384dce
commit
13a7a7dc65
2 changed files with 4 additions and 10 deletions
5
TODO
5
TODO
|
@ -4,11 +4,8 @@ BUGS:
|
||||||
; Slugs aren't unicode safe. See [reddit discussion](http://www.reddit.com/r/lisp/comments/yvh6g/coleslaw_jekylllike_static_blogware_in_500_lines/) and [mozilla code](https://github.com/mozilla/unicode-slugify/blob/master/slugify/__init__.py).
|
; Slugs aren't unicode safe. See [reddit discussion](http://www.reddit.com/r/lisp/comments/yvh6g/coleslaw_jekylllike_static_blogware_in_500_lines/) and [mozilla code](https://github.com/mozilla/unicode-slugify/blob/master/slugify/__init__.py).
|
||||||
|
|
||||||
TODO:
|
TODO:
|
||||||
0.9
|
|
||||||
; Add HACKING.md docs, i.e. formalize workflow+releases. No more landing broken stuff on master!
|
|
||||||
; Document available plugins.
|
|
||||||
; Document plugin API.
|
|
||||||
Coleslaw.next
|
Coleslaw.next
|
||||||
|
; Add HACKING.md docs, i.e. formalize workflow+releases. No more landing broken stuff on master!
|
||||||
; Add SHOUT content type.
|
; Add SHOUT content type.
|
||||||
;; needs: shout template/render function. Twitter\Disqus integration with shouts?
|
;; needs: shout template/render function. Twitter\Disqus integration with shouts?
|
||||||
;; Rename index.posts to something else?
|
;; Rename index.posts to something else?
|
||||||
|
|
|
@ -1,11 +1,8 @@
|
||||||
(in-package :coleslaw)
|
(in-package :coleslaw)
|
||||||
|
|
||||||
(defun make-pubdate (&optional date)
|
(defun make-pubdate ()
|
||||||
"Make a RFC1123 pubdate representing the current time or DATE, when supplied."
|
"Make a RFC1123 pubdate representing the current time."
|
||||||
(let ((timestamp (if date
|
(local-time:format-rfc1123-timestring nil (local-time:now)))
|
||||||
(date-to-timestamp date)
|
|
||||||
(local-time:now))))
|
|
||||||
(local-time:format-rfc1123-timestring nil timestamp)))
|
|
||||||
|
|
||||||
(defun render-feeds (feeds)
|
(defun render-feeds (feeds)
|
||||||
"Render and write the given FEEDS for the site."
|
"Render and write the given FEEDS for the site."
|
||||||
|
|
Loading…
Add table
Reference in a new issue