Fix events not showing on calendar due to date type formats