This project is archived and is in readonly mode.
Changeset [66728087d0eb99a524498e8f24725dae6073edd6] by gbuesing
Revision 66728087d0eb99a524498e8f24725dae6073edd6,
committed by Repository
· May 9th, 2008 @ 04:48 AM
Adding Date.current, which returns Time.zone.today if config.time_zone is set; otherwise returns Date.today. ActionView date_helper uses Date.current to determine locale-appropriate default
6 changed files
-
M
actionpack/CHANGELOG -
M
actionpack/lib/action_view/helpers/date_helper.rb -
M
actionpack/test/template/date_helper_test.rb -
M
activesupport/CHANGELOG -
M
activesupport/lib/active_support/core_ext/date/calculations.rb -
M
activesupport/test/core_ext/date_ext_test.rb