7 lines
182 B
Ruby
7 lines
182 B
Ruby
require 'tzinfo_timezone'
|
|
|
|
# remove the existing TimeZone constant
|
|
Object.send(:remove_const, :TimeZone)
|
|
|
|
# Use TzinfoTimezone as the TimeZone class
|
|
Object::TimeZone = TzinfoTimezone |