Fix error message to match code

git-svn-id: http://google-refine.googlecode.com/svn/trunk@2419 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
Tom Morris 2012-01-12 05:51:16 +00:00
parent b3a90d0ede
commit 8ec10a6ea6

View File

@ -61,7 +61,7 @@ public class DatePart implements Function {
return getPart(c, part);
}
}
return new EvalError(ControlFunctionRegistry.getFunctionName(this) + " expects a date, a number and a string");
return new EvalError(ControlFunctionRegistry.getFunctionName(this) + " expects a date and a string");
}
static private String[] s_daysOfWeek = new String[] {