Reading the current time
Don't use Time.now as it's broken when using time zones. \
Instead, use Time.current, DateTime.current or Date.current (the latter actually not being different, but just use it for good measure).
Parsing strings
Don't use Time.parse as it only gives you a Time object.
Use Time.zone.parse instead for a TimeWithZone.
Posted by Arne Hartherz to HouseTrip Deck (2012-07-06 09:01)