Adding 12-hour clock mode.