fix: don't crash on ctrl-a/-x whith invalid date