display date in planner correctly