milt/redmine_scheduler — comment on commit ed9b1cd13538e334f88f75197e6672d859e4a81b
File: app/views/manage/timesheets.html.erb line 6
By canweriotnow:

`@month` will eval to `nil` if it was never assigned a value. `NilClass#to_i` will return 0. So it's effectively calling `Date.new(0)`, which basically returns an empty Date object. It's weird, but since it never raises an exception, IT RUNS!