fixed 12 hour clock at midnight