Post dates now include the year
authorMark Szymanski <mrman208@me.com>
Sun, 9 Jan 2011 20:10:56 +0000 (14:10 -0600)
committerMark Szymanski <mrman208@me.com>
Sun, 9 Jan 2011 20:10:56 +0000 (14:10 -0600)
plugins/jekyll.plugins.bash

index 9797f8b..aebe69b 100644 (file)
@@ -105,7 +105,7 @@ newpost() {
        # Now we have to get the date, again. But this time for in the header (YAML Front Matter) of
        # the file
 
-       YAML_DATE=$(date "+%B %d %X")
+       YAML_DATE=$(date "+%B %d %Y %X")
 
        # Echo the YAML Formatted date to the post file