Added a datetime exception handler to kvevent