frontend formatting and dates