aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJ. B. Rainsberger <me@jbrains.ca>2013-11-17 15:33:09 -0500
committerParker Moore <parkrmoore@gmail.com>2013-11-17 15:33:22 -0500
commitb57935d42c2c665b18adbd78f0a494c942e4e1f9 (patch)
tree1c1df0b32fcf33c22e5590c499318fd7f96482c0
parente01dc8ae2764cb2f17fe8e1c46fbe5dfc0de5f28 (diff)
downloadmy_new_personal_website-b57935d42c2c665b18adbd78f0a494c942e4e1f9.tar.xz
my_new_personal_website-b57935d42c2c665b18adbd78f0a494c942e4e1f9.zip
Include timezone offset in new post template for YAML Front-Matter
Closes #1419.
Diffstat (limited to '')
-rw-r--r--Rakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index 0d5ec3b5..6850835d 100644
--- a/Rakefile
+++ b/Rakefile
@@ -108,7 +108,7 @@ task :new_post, :title do |t, args|
post.puts "---"
post.puts "layout: post"
post.puts "title: \"#{title.gsub(/&/,'&amp;')}\""
- post.puts "date: #{Time.now.strftime('%Y-%m-%d %H:%M')}"
+ post.puts "date: #{Time.now.strftime('%Y-%m-%d %H:%M:%S %z')}"
post.puts "comments: true"
post.puts "categories: "
post.puts "---"