diff --git a/lib/clock.rb b/lib/clock.rb index b4c548c..bc63ea7 100644 --- a/lib/clock.rb +++ b/lib/clock.rb @@ -9,7 +9,7 @@ class Clock def self.to_eorzea_time(earth_time) et_ts = earth_time.to_i new_ts = et_ts.abs * EARTH_TO_EORZEA - Time.at(new_ts) + Time.at(new_ts.floor).utc end def self.to_earth_time(ez_time)