Format date header in lib