Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Fix daily rule occurrences #25
Fixed daily rule so that occurrences can properly continue on into a new year.
Previously #yday was being used in math operations but this caused issues because two odd yday numbers can occur back to back:
I also noticed a comment of "TODO repair" on line 5 of daily_rule.rb, I'm not sure of the purpose of the comment but you may want to remove it if my fix is the "repair".