A directive to improve datetime input.