hoteltonight/hubot-pagerduty — pull request #3 by nmunson (2013-04-20 03:13:39+00:00)
Title: Clean up getTextDate

Hey,

You mentioned a need for a cleaner way to format the date, this should do the trick. It prepends all days and months with a 0 and then takes the last two digits, which will safely zero pad any number.

- Nick