commit c0404efaa880c3cd545c65ce7a05cb2562ce4103 from: Bradley Taunt date: Wed Jul 24 14:22:01 2024 UTC Force RSS time to set itself to midday, put original post date back commit - 07aa8a0e7e259e6df438c3643dc18f0d6e0fa0c2 commit + c0404efaa880c3cd545c65ce7a05cb2562ce4103 blob - 71c7596da66d3e90b014bae7397c156027f56c8c blob + c858664ce680717baa18beda7ada17786c8d5fdd --- posts/futurama.md +++ posts/futurama.md @@ -1,6 +1,6 @@ # Exploring Futurama: A Dive into the World of Tomorrow -2024-07-21 +2024-07-22 ## Introduction blob - b17bca2046b3ee827117e69bfcf5a062e9633be0 blob + d4f49e680c81f4c1b9422a1d041793969ca85646 --- wruby.rb +++ wruby.rb @@ -112,7 +112,7 @@ def generate_rss(posts, rss_file, author_name, site_na maker.channel.link = site_url posts.each do |post| - date = Date.parse(post[:date].to_s).to_time + date = Date.parse(post[:date].to_s).to_time + 12*60*60 # Force time to midday item_link = "#{site_url}/#{posts_dir}/#{post[:link]}" item_title = post[:title] item_content = post[:content]