For 12-hour format hour, format midnight as 12
Merge pull request #1 from mkdynamic/patch-1

For 12-hour format hour, format midnight as 12