tests on datetime-local format