github/hubot-scripts — pull request #1108 by aw (2013-09-01 08:29:16+00:00)
Title: Fix a bug setting reminders more than 24 days

I was unable to set reminders to more than 24 days :panda_face: .. turns out JavaScript's `setTimeout`, which uses milliseconds, has a maximum 32-BIT INT.

For this reason, the highest value was `0x7FFFFFFF` or `2147483647` or `2^31-1`.

I created a recursive function called `extendTimeout` which loops over and sets a new timeout every ~24 days. This allows you to set reminders way far in the future.