added check for hour = 0 because calendar.get returns 0-11

sets hour to 12 if 0
Merge pull request #1 from mattcheman/patch-1

added check for hour = 0 because calendar.get returns 0-11