allow date_trunc on long and string literals