Classes and Modules
Constants
BROKEN_TIME_AT_WITH_NSEC | = | defined?(JRUBY_VERSION) && (JRUBY_VERSION < '9.3' || (JRUBY_VERSION < '9.4' && JRUBY_VERSION.split('.')[2].to_i < 9)) |
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} |