add date in data format
add test & fix numeric(date) bug