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

sets hour to 12 if 0