organa.dates

article-date-format

Date format used when rendering blog posts

current-year

(current-year)

Current year (at the time the program is being run).

date->year

(date->year d)

Find year for a clj-time time (Joda DateTime).

date-for-file-by-os

(date-for-file-by-os path)

Get “update” date and time in milliseconds for a file on the file system.

Useful links: https://github.com/juxt/yada/blob/master/src/yada/resources/file_resource.clj http://stackoverflow.com/questions/2723838/
determine-file-creation-date-in-java

date-for-org-file

(date-for-org-file site-source-dir basename)

Find Joda DateTime for an Org post in HTML format, first looking in the Org Mode header, and if not present there, using the filesystem time.