[Tools] Prevent exceptions on date_time_format & date_format
[Release] 2.1.18