As I'm going through the timezone stuff with a fine-toothed comb to  
make sure I changed the right things, I notice a lot of uses of  
TimeWithZone#utc. Why exactly do we do this? It seems to me that the  
time object compares the same, and IRB agrees:

Loading development environment (Rails 2.1.0)
 >> t = Time.now
=> Tue Sep 16 06:53:01 -0700 2008
 >> t == t.utc
=> true
 >>

So it really shouldn't matter, right? Rails translates to the  
configured time zone (usually UTC) when it saves to the database. Can  
I go ahead and remove these calls to #utc?
_______________________________________________
Tracks-discuss mailing list
[email protected]
http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss

Reply via email to