Fixed #20 - missing implementation of datetime_trunc_sql