Add time formatting function and fonts