mirror of
https://github.com/internetee/registry.git
synced 2025-06-04 19:57:29 +02:00
7 lines
213 B
Ruby
7 lines
213 B
Ruby
Que::Adapters::Base::CAST_PROCS[1184] = lambda do |value|
|
|
case value
|
|
when Time then value
|
|
when String then Time.parse(value)
|
|
else raise "Unexpected time class: #{value.class} (#{value.inspect})"
|
|
end
|
|
end
|