dellsystem/github-commit-reminder — pull request #1 by jwill (2013-09-22 04:52:50+00:00)
Title: Search for most recent commit.

Github adds a record for the current day with 0 commits if you have yet to commit. Previous code always looked at the last element in the data list and would never send a message.

Below code iterates in reverse looking for a day with a number of commits greater than 0, otherwise returning Linux epoch (1/1/1970) if it is a new account.