aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/core_ext/time_ext_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Extract out with_env_tz helper method.Zuhao Wan2014-06-181-9/+2
* Merge pull request #10634 from teleological/time_advance_gregorianAndrew White2014-01-051-0/+7
|\
| * Maintain proleptic gregorian in Time#advanceRiley Lynch2013-05-151-0/+7
* | Merge pull request #10879 from makaroni4/masterAndrew White2013-07-291-0/+12
|\ \
| * | Added Time#middle_of_dayAnatoli Makarevich2013-07-281-0/+12
| |/
* | Fix handling of offsets with Time#to_s(:iso8601)Andrew White2013-07-291-1/+3
* | Add Time#to_s(:iso8601) for easy conversion of times to the iso8601 format fo...David Heinemeier Hansson2013-07-281-0/+1
* | Return local time for backwards compatibilityAndrew White2013-07-091-8/+25
* | Retain UTC offset when using Time.at_with_coercionAndrew White2013-07-091-0/+33
* | Fix microsecond precision of Time#at_with_coercionNeer Friedman2013-07-091-0/+4
* | Remove deprecated `Time#time_with_datetime_fallback`, `Time#utc_time`Vipul A M2013-07-031-55/+0
* | Override Time.at to work with Time-like valuesAndrew White2013-06-081-0/+22
|/
* Squashed commit of the following:Aaron Patterson2013-05-031-7/+0
* Added beginning_of_minute support to core_ext calculations for Time and DateTimeGagan Awhad2013-02-211-0/+8
* Standardise the return value of `to_time`Andrew White2013-01-211-1/+5
* Remove assert_nothing_raisedRafael Mendonça França2013-01-031-4/+2
* Added ability to compare date/time with infinitybUg2013-01-041-0/+9
* Deprecate obsolete Time to DateTime fallback methodsAndrew White2012-12-111-26/+38
* Add #seconds_until_end_of_day to DateTime and TimeOlek Janiszewski2012-11-291-0/+48
* Refactored common date and time calculations.Pan Thomakos2012-08-041-175/+7
* Make Time#change work with offsets other than UTC or localAndrew White2012-07-011-0/+31
* Add prev_quarter and next_quarter method in Time/Date/DateTimeparanoiase Kang2012-06-201-0/+13
* Merge pull request #6376 from jgaskins/timestamp-microsecondsJeremy Kemper2012-05-181-1/+3
|\
| * Increase `AR#cache_key` precision to nanosecondsJamie Gaskins2012-05-191-1/+3
* | respect nsec in TimeWithZoneVasiliy Ermolovich + Sergey Nartimov2012-05-181-33/+33
* | wrap time ranges with timezones, closes #6179Vasiliy Ermolovich2012-05-171-1/+9
|/
* added beginning_of_hour support to core_ext calculations for Time and DateTimeMark J. Titorenko2012-05-041-0/+8
* Merge pull request #4284 from mattdbridges/time_calculation_aliasesXavier Noria2012-02-281-0/+18
|\
| * Adding :last_week, :last_month, and :last_year aliases to Time and DateMatt Bridges2012-02-211-0/+18
* | Optional start_day argument for Time#all_week.kennyj2012-02-061-0/+1
* | Deprecate DateTime.local_offsetbrainopia2012-01-251-4/+4
|/
* use AS::TestCase as the base classAaron Patterson2012-01-051-1/+1
* Nano seconds fraction of time is copied properly in Time#advancePawel Pierzchala2012-01-051-0/+5
* beginning_of_week extended in both Time and Date so that to return week start...gregolsen2011-11-251-0/+20
* Merge pull request #3725 from marcandre/twz_eqlYehuda Katz2011-11-221-0/+6
|\
| * Fix inconsistencies with Time{WithZone}#{hash,eql?}Marc-Andre Lafortune2011-11-221-0/+6
* | Removed argument throwing warnings when running tests.Henrik Hodne2011-11-061-13/+13
|/
* Add tests for fixes to Time.===Jeremy Evans2011-09-071-0/+3
* Rename Time#whole_* to Time#all_* [thanks Pratik!]David Heinemeier Hansson2011-06-131-10/+10
* Added Time#whole_day/week/quarter/year as a way of generating ranges (example...David Heinemeier Hansson2011-06-131-0/+20
* Fix marshal round-tripping of fractional seconds (Time#subsec).Jason Weathered2011-04-171-0/+7
* reverted tests deleted by 080345baca1076a9788d, refactored implementations sh...Diego Carrion2011-03-041-3/+13
* Ruby 1.8.7+ provides to_date/to_datetime, AS just makes them public.John Firebaugh2011-02-031-13/+3
* implements weeks_ago and prev_week for Date/DateTime/Time [#5122 state:commit...Rob Zolkos & Xavier Noria2010-10-161-0/+18
* Deletes trailing whitespaces (over text files only find * -type f -exec sed '...Santiago Pastorino2010-08-141-10/+10
* removes deprecations of last_(month|year) from master, they will be deprecate...Xavier Noria2010-05-191-8/+0
* defines prev_(month|year) in Date and Time to ease transition to 1.9, and dep...Xavier Noria2010-05-121-5/+13
* let Time.time_with_datetime_fallback handle properly years in the range 0..138Xavier Noria2010-05-051-0/+7
* Ruby 1.9.2: marshaling round-trips Time#zoneJeremy Kemper2010-03-281-12/+8
* Time zone tests were right all along.José Valim2010-03-281-4/+4