Geoff Buesing
Account member
Geoff Buesing's latest activity
Monday, July 07 2008
-
- State changed from new to open
- Assigned user set to Geoff Buesing
Good catch. The call to #utc should fix this. In addition to asserting equality in the tests, we should also assert mtime.utc.utc? and mtime.time.utc? to check...
Monday, June 30 2008
-
- Title changed from Rails 2.1 DST Issues to Time#since DST issue
- State changed from new to open
- Tag changed from 2.1, bug, timezones to bug, dst, time
- Assigned user set to Geoff Buesing
I think this is because Time#since does a DST adjustment if the passed-in value is >= 86400 seconds -- hence, the difference between adding 24.hours and adding...
Saturday, June 28 2008
-
Geoff Buesing commented at 6:48 PMre: TimeZone#=~
1. I think returning just true or nil is fine for now
2. instead of matching tzinfo.name, which will preload the tzinfo instance for every Ti...
Wednesday, June 25 2008
-
- Tag changed from activesupport, convenient, enhancemen, helper, i18n, patch, timezonece to actionpack, activesupport, i18n, patch, timezone
Hmmm why did Lighthouse say I just added all of those tags?
-
- Tag set to activesupport, convenient, enhancemen, helper, i18n, patch, timezonece
Ernie,
I think the =~ method should be on the TimeZone instance, not the class, so that we're mirroring the semantics of String#=~
We could then do the on-th...
Friday, June 20 2008
-
Geoff Buesing commented at 3:34 AMTime#to_s(:db) ignores Time#zone -- example:
>> Time.mktime(2008, 06, 20, 0, 31, 7).to_s(:db) => "2008-06-20 00:31:07" >> Time.utc(2008, 06, 20, 0, 31, 7).t...
Wednesday, June 18 2008
Saturday, June 14 2008
-
Geoff Buesing commented at 6:32 PM...also, just for reference: if you want to write a test for a specific system time zone, you can set ENV['TZ'] for that test -- see the with_env_tz helper in ...
-
- State changed from incomplete to resolved
Ok, I've looked into this a little more -- this is not an issue with 2.1 (irrespective of whether you're using config.time_zone or the system time zone), but i...
Friday, June 13 2008
-
- State changed from new to incomplete
- Assigned user set to Geoff Buesing
I wasn't able to replicate this in the console with Rails 2.1.
Would you be able to provide a failing test case for this?