Add time formatting support.