moved date_format to bibliographyHelpers to get out of global namespace