Add support of date formatting in header.