Fix smarty crmDate function as used on frozen fields