Enhancements to the dateformat filter.