Apparently, DateTime should not be used except rare cases
So when should you use DateTime in Ruby and when should you use Time? Almost certainly you'll want to use Time since your app is probably dealing with current dates and times. However, if you need to deal with dates and times in a historical context you'll want to use DateTime to avoid making the same mistakes as UNESCO.
https://ruby-doc.org/stdlib-2.3.0/libdoc/date/rdoc/DateTime.html#top
Given that Beeminder is not older than Gregorian calendar DateTime should not be used.
Found via Rubocop complaints ( https://github.com/rubocop-hq/ruby-style-guide#date--time )
Apparently, DateTime should not be used except rare cases
https://ruby-doc.org/stdlib-2.3.0/libdoc/date/rdoc/DateTime.html#top
Given that Beeminder is not older than Gregorian calendar DateTime should not be used.
Found via Rubocop complaints ( https://github.com/rubocop-hq/ruby-style-guide#date--time )