Geoff Buesing
Account member
Geoff Buesing's latest activity
Tuesday, May 26 2009
-
- Milestone cleared.
- State changed from invalid to open
@Joel Hoffman -- you're right, my previous diagnosis of what was causing the problem was incorrect: a string assigned to a Date column is coerced to a Date obje...
Sunday, May 10 2009
-
Geoff Buesing commented at 5:50 PMOk here's some compelling pro-"Kyiv " evidence:
-
US State department refers to it as Kyiv: http://www.state.gov/r/pa/ei/bgn...
-
Ukrainian constitution states ...
-
Saturday, May 09 2009
-
Geoff Buesing commented at 7:13 PMDid some quick Google research, found this article, "Kiev or Kyiv?": http://www.infoukes.com/faq/kyiv-2/
"The major academics, however, such as the world's lead...
Wednesday, April 22 2009
-
- State changed from new to wontfix
I assume you're talking about a sql :time (i.e., time-only) column, which AR returns as an instance of Time, with year, month and day set to Jan 1, 2000.
Rails ...
Tuesday, April 14 2009
-
Geoff Buesing commented at 12:32 AMThat would work. Though you should use the non-destructive #getutc instead of #utc, otherwise you might get some unexpected behavior.
Sunday, April 12 2009
-
-
Geoff Buesing commented at 2:29 PMAha ok -- looks like you're not calling #to_s(:db) -- 'Sun Apr 12 11:40:05 UTC 2009' is the plain Time#to_s output.
You need to explicitly call #to_s(:db) on ti...
Saturday, April 11 2009
-
- State changed from new to wontfix
If you include the UTC offset and leave out the MSK/MDK from the string, it works:
>> zone = ActiveSupport::TimeZone['Moscow'] => #<ActiveSupport::TimeZone:...
-
Geoff Buesing commented at 2:45 PMIn your environment.rb, are you setting config.time_zone? This setting currently only works when your database stores UTC times -- if you want to store in local...
-
- Milestone cleared.
- Assigned user set to Geoff Buesing
- State changed from new to open
I agree this is inconsistent -- TimeWithZone and Time.utc instances report themselves to the database as UTC, whereas Time.local instances report themselves in ...