Updated settings.format to settings.template for Moment-based formats.