Add time formatting function for feed