module Sequel::NamedTimezones
Constants
- BROKEN_TIME_AT_WITH_NSEC
Whether Time.at with :nsec and :in is broken. True on JRuby < 9.3.9.0.
Attributes
tzinfo_disambiguator[RW]
Handles TZInfo::AmbiguousTime exceptions automatically by providing a proc called with both the datetime value being converted as well as the array of TZInfo::TimezonePeriod results. Example:
Sequel.tzinfo_disambiguator = proc{|datetime, periods| periods.first}