expose date format attribute