#2359 Bugfix in normalizeDatetimeValue after regression test