From b57935d42c2c665b18adbd78f0a494c942e4e1f9 Mon Sep 17 00:00:00 2001 From: "J. B. Rainsberger" Date: Sun, 17 Nov 2013 15:33:09 -0500 Subject: [PATCH] Include timezone offset in new post template for YAML Front-Matter Closes #1419. --- Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index 0d5ec3b..6850835 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(/&/,'&')}\"" - 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 "---"