move date formatter constant to local constants