General

Profile

pixeltrix (Andrew White)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 3 3

Activity

11/07/2017

02:50 PM Ruby Feature #14091 (Closed): Remove Time#succ
The method Time#succ was marked as obsolete in Ruby 1.9.3 and whilst it remains Rails has to patch Range#each and Range#step to prevent logs from being filled with the deprecation messages (see https://github.com/rails/rails/pull/11474).... pixeltrix (Andrew White)

01/15/2016

02:12 PM Ruby Bug #11994 (Closed): Incorrect result for yday in vtm_add_offset with negative UTC offset on last day of the year
When you have a UTC time value that's the first day of the year and then convert it to a time value with a negative UTC offset so that it's the 31st December then the year day is calculated incorrectly, e.g:
~~~
>> t = Time.utc(2015,...
pixeltrix (Andrew White)

01/31/2014

05:18 PM Ruby Bug #9032: Time.round reverts the DST status of the time
This has been fixed in Rails master and will be released as part of Rail 4.1:
https://github.com/rails/rails/commit/63f8fabe4939ad59d597dfea441002ef5b16d2f4
pixeltrix (Andrew White)

07/02/2012

01:17 AM Ruby Bug #6683 (Closed): DateTime#strftime("%s") overflow on 32-bit platform
The improvements to date and time in 1.9.3 introduced a regression from 1.9.2 with respect to DateTime#strftime("%s") (%s is seconds since the UNIX epoch). e.g.
# Ruby 1.9.2p320
1.9.2p320 :001 > require 'date'
1.9.2p320 :002 > requi...
pixeltrix (Andrew White)

Also available in: Atom