Scott's Thoughts

"Should I Use Date, Time, or DateTime in Ruby and Rails?"

"As of Ruby 3 (released December 24th, 2020, as is Ruby tradition), DateTime only exists for backwards-compatibility. The date library docs recommend you just use Time instead. (I’m pretty sure this was essentially true from 2.0 forward, but now it’s formally true.)"

"Should I Use Date, Time, or DateTime in Ruby and Rails?"

medium.com
#
Ruby
February 10, 2021

© Scott W. Hill All Rights Reserved