From a326f09eda7b6654ccef6289349b65e164aef309 Mon Sep 17 00:00:00 2001 From: Matchu Date: Tue, 1 Apr 2014 19:10:44 -0500 Subject: [PATCH] lolwhoops, measure prank-funniness in PST --- app/models/color.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/color.rb b/app/models/color.rb index 746eded6..d512d324 100644 --- a/app/models/color.rb +++ b/app/models/color.rb @@ -30,7 +30,7 @@ class Color < ActiveRecord::Base end def self.pranks_funny? - today = Date.today - today.month == 4 && today.day == 1 + now = Time.now.in_time_zone('Pacific Time (US & Canada)') + now.month == 4 && now.day == 1 end end