radar/by_star — pull request #12 by makdad (2012-10-01 07:09:59+00:00)
Title: `by_month` and `by_year` should treat times as local when passed string/fixnums

We couldn't understand why our tests were failing ... until we looked at the calendar and realized it's October 1st.

The default of `to_time` is UTC, but our Rails server time zone is set differently (+9, FWIW) -- hence, failures. This patch addresses that.