News for hackers. Stuff that matters.
Re:Pendulum – Python datetimes made easy by teej on Tuesday August 16, 2016 @10:47PM (#12302184)
1.day is not a native Ruby concept, it is a method monkeypatched into the Numeric class by Rails' ActiveSupport. See http://api.rubyonrails.org/classes/Numeric.html#method-i-day and https://ruby-doc.org/core-2.2.0/Numeric.html.
Re:Pendulum – Python datetimes made easy by twblalock on Wednesday August 17, 2016 @02:29AM (#12302855)
I can see how people think it is native Ruby. Very few people use Ruby without Rails.