[ticket/281] Fix date_to_time tests

B3P-281