Fixed bug in is_date_format? and removed the duplicate from Cell