Browse Source

Remove some unnecessary precision in the timestamp

master
Peter J. Jones 8 years ago
parent
commit
f0ed94dba2
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      templates/article/slug.yml.erb

+ 1
- 1
templates/article/slug.yml.erb View File

@@ -1,2 +1,2 @@
tags_comma_string: Tag One, Tag Two
published_at: <%= Time.now.to_yaml.sub(/^--- /, '').chomp %>
published_at: <%= Time.now.to_yaml.sub(/^--- /, '').sub(/\.\d+/, '').chomp %>

Loading…
Cancel
Save