From b3c07e06c57136bbcbec9b6fec13f7b5af099040 Mon Sep 17 00:00:00 2001 From: Bradley Taunt Date: Tue, 23 Jul 2024 13:16:40 -0400 Subject: Fix offset to go forward, not backwards --- wruby.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wruby.rb b/wruby.rb index ffbb1c6..b5c7fbe 100644 --- a/wruby.rb +++ b/wruby.rb @@ -123,7 +123,7 @@ def generate_rss(posts, rss_file, author_name, site_name, site_url, posts_dir) maker.channel.link = site_url posts.each do |post| - date = DateTime.parse(post[:date].to_s).new_offset('-05:00') + date = DateTime.parse(post[:date].to_s).new_offset('+05:00') item_link = "#{site_url}/#{posts_dir}/#{post[:link]}" item_title = post[:title] item_content = post[:content] -- cgit v1.2.3-54-g00ecf