Directive formattedDate