aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/date_and_time
Commit message (Collapse)AuthorAgeFilesLines
* Added Date#all_week/month/quarter/year for generating date rangesDimko2013-12-031-0/+21
|
* No need to use blocks hereAndrew White2013-08-041-11/+9
|
* Refactor Date, Time, DateTime timezone methodsGilad Zohari2013-08-011-0/+41
| | | | | | Similar implementations of #in_time_zone exists for Date, Time and DateTime so method is extracted into its own module. Also some logic is extracted into private method.
* formattingJon Rowe2013-04-261-1/+1
|
* better document `next_week` functionaility closes #9568Jon Rowe2013-04-261-5/+5
|
* Fixed TypoPrathamesh Sonpatki2013-04-041-1/+1
|
* Date.beginning_of_week thread local and beginning_of_week application config ↵gregolsen2012-09-181-15/+34
| | | | option added (default is Monday)
* Remove unused variableRafael Mendonça França2012-08-261-1/+1
|
* Refactored common date and time calculations.Pan Thomakos2012-08-041-0/+213
* Added the `DateAndTime::Calculations` module that is included in Time and Date. It houses common calculations to reduce duplicated code. * Simplified and cleaned-up the calculation code. * Removed duplication in tests by adding a behavior module for shared tests. I also added some missing tests.