Geoff Buesing
Account member
Geoff Buesing's latest activity
Thursday, January 28 2010
-
Geoff Buesing commented at 2:27 AMTurns out the standard library isn't to blame -- ActiveSupport defines DateTime#to_f, so Time#- coerces the DateTime arg #to_f and assumes we're subtracting sec...
Tuesday, January 26 2010
-
Geoff Buesing commented at 4:08 AMLooking at the historical data, Buenos Aires and Georgetown, Guyana shared the same base UTC offset (-03:00) from 1975 to 1991, which is probably why Windows co...
Wednesday, December 16 2009
-
Geoff Buesing commented at 7:31 PMTo answer your question about Mysql DATETIME columns: they're not affected by the Mysql time zone. From the Mysql documentation:
"The current time zone setting ...
-
Geoff Buesing commented at 3:33 PM@Joachim: thanks for the thorough writeup.
The issue described here with Mysql doing time zone conversions on TIMESTAMP columns. Note that TIMESTAMP columns are...
Tuesday, December 15 2009
-
- State changed from new to resolved
Applied in master and 2-3-stable. Thanks!
master: http://github.com/rails/rails/commit/2ae8300489aaaaaa65f50f3557090b...
2-3-stable: http://github.com/rails/r...
Tuesday, November 10 2009
-
- State changed from new to open
Aha, ok, I see what the issue is -- the instance of ActiveSupport::TimeWithZone you're creating is storing the time internally as a DateTime (because you starte...
-
- Assigned user set to Geoff Buesing
I can't replicate this.
With what arguments are you calling time_ago_in_words to get the error?
Tuesday, October 27 2009
-
- State changed from new to invalid
Matt Jones is probably right; this looks to be an issue with the database not storing usec.
In your tests, you can try coercing to_a before comparing; usec valu...
-
- State changed from new to invalid
TimeZone#utc_offset (called when you call Time.zone.utc_offset) returns just the base UTC offset for the time zone; it doesn't take DST into consideration.
This...
-
- State changed from new to invalid
The only valid settings for config.active_record.default_timezone are :utc and :local.
I've seen others make this same error -- they assume default_timezone can...