Custom time format for Smarty