Converted 'strftime' filter from closure to function to work with PHP 5.2.x