make offset_date type unaware