example custom label formatter with dates