1
0
Fork 0
forked from OpenNeo/impress

lolwhoops, measure prank-funniness in PST

This commit is contained in:
Emi Matchu 2014-04-01 19:10:44 -05:00
parent 4532ecccd5
commit a326f09eda

View file

@ -30,7 +30,7 @@ class Color < ActiveRecord::Base
end end
def self.pranks_funny? def self.pranks_funny?
today = Date.today now = Time.now.in_time_zone('Pacific Time (US & Canada)')
today.month == 4 && today.day == 1 now.month == 4 && now.day == 1
end end
end end