use 'date' instead of 'dateTime' for room database