Fix DATE_FORMAT to work with Pelican-3.4.