We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82d5da4 commit c7985b0Copy full SHA for c7985b0
lib/ice_cube.rb
@@ -83,7 +83,7 @@ def self.to_s_time_format=(format)
83
# Retain backwards compatibility for schedules exported from older versions
84
# This represents the version number, 11 = 0.11, 1.0 will be 100
85
def self.compatibility
86
- @compatibility ||= 11
+ @compatibility ||= IceCube::VERSION.scan(/\d+/)[0..1].join.to_i
87
end
88
89
def self.compatibility=(version)
0 commit comments