comply with the ampm option to also provide 24hour format