This project is archived and is in readonly mode.

Changeset [66728087d0eb99a524498e8f24725dae6073edd6] by gbuesing

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

http://github.com/rails/rails/co...

Committed by Repository

  • 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

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>