Caches date formatters to improve performance.