Rewrite the Date header formatting functionality.