test/unit/helper.rb in ierail-0.4.0 vs test/unit/helper.rb in ierail-0.4.1

- old
+ new

@@ -6,9 +6,10 @@ require 'time' require 'minitest/autorun' require 'ierail' def get_original_time(t) + t = Time.now if t.nil? @when = Time.parse(t.to_s) if TZInfo::Timezone.get('Europe/Dublin').current_period.dst? unless @when.zone == 'IST' @when -= @when.utc_offset - 3600 end