precompilation of date format templates