Bugfix

Fixed 12-hour clock's miscalculation of AM or PM.