fixing the date format for the pelican output