[BUGFIX] fix indexing of date/time fields