Marc-André Lafortune
Not a member
Marc-André Lafortune's latest activity
Monday, May 09 2011
-
Marc-André Lafortune commented at 9:11 PMGot bitten by this. A solution for this problem would be nice.
Wednesday, March 16 2011
-
Marc-André Lafortune commented at 7:20 PMHere is my patch.
{Date}Time#in_time_zone,Time.use_zoneandTime.zone=now raise anArgumentErroron invalid timezone arguments.Note that I changed
test_time_...
Tuesday, March 15 2011
-
Marc-André Lafortune commented at 10:45 PMThanks for looking it up.
For the record, EST5EDT is not quite "EDT". It is the same as "Eastern Time (US & Canada)", i.e. EST (UTC-5) in the 'winter', and 'EDT...
Monday, March 14 2011
-
Marc-André Lafortune created the ticket at 5:12 PMThe documentation for
AbstractController::Helpers#helperstates that:allis a special parameter.Indeed, from a
ActionController::Base,helper :allwill use al...
-
Marc-André Lafortune created the ticket at 2:57 PMWhile the time zone "EST" is recognized, "EDT" isn't.
Time.now.zone # => "EST" last week, "EDT" this week. Time.now.in_time_zone("EST").to_s # => ".... -0500" ...
-
-
Marc-André Lafortune created the ticket at 2:53 PMCurrently, the following doesn't raise any error:
t = Time.now.in_time_zone("There is no such timezone"); t.utcMany other methods of
TimeWithZonewill raise ...
Sunday, March 13 2011
-
Marc-André Lafortune commented at 7:48 PMThanks for testing on your side.
Yes, it could be worthwhile to add a test as you suggest.
Saturday, March 12 2011
-
Marc-André Lafortune commented at 6:28 PMFloatsandIntegersare quite different: there is no bijection between them and they don't respond to the same methods (e.g. you can't do10.0.times{}).Note th...