aboutsummaryrefslogtreecommitdiff
path: root/wruby.rb
diff options
context:
space:
mode:
authorBradley Taunt <bt@btxx.org>2024-07-22 17:39:38 -0400
committerBradley Taunt <bt@btxx.org>2024-07-22 17:39:38 -0400
commitf7f421dd3a1a0af1596719949b0024b37ccd0fe3 (patch)
tree432d2fb9e8526c216b358438ada0eb152c420e67 /wruby.rb
parent4f7e8bc027aab9698394a27bbf2cdf60efde86ae (diff)
Fix index blog list date format
Diffstat (limited to 'wruby.rb')
-rw-r--r--wruby.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/wruby.rb b/wruby.rb
index 4ee60df..eba5912 100644
--- a/wruby.rb
+++ b/wruby.rb
@@ -62,7 +62,7 @@ def process_markdown_files(input_directory, output_directory, header_content, fo
header = replace_title_placeholder(header_content, title)
File.write(output_file, header + html_content + footer_content)
- items << { title: title, date: date.to_time.utc, link: relative_path + '/', content: html_content }
+ items << { title: title, date: date, link: relative_path + '/', content: html_content }
end
items