Forum: Ruby on Rails end_of_month()

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Ccaa63b09f5168501b194266b9a1e7cc?d=identicon&s=25 Scott Willson (Guest)
on 2006-01-26 23:48
(Received via mailing list)
I noticed that
ActiveSupport::CoreExtensions::Time::Calculations::ClassMethods.end_of_month()
returns a new Time with the time set to 00:00:00. I expected it to
return
23:59:59.

Am I missing something? Should this be changed?

Scott
9a6eb11fad2f024623eb37cefc173ce4?d=identicon&s=25 Michael Moulsdale (mole1066)
on 2009-04-30 17:40
I have also noticed this, and it is driving me up the wall. Any way
around it?
This topic is locked and can not be replied to.