Fixed Firefox Date issue in models
Fixed Firefox date format issue in controllers as well