diff --git a/main/src/com/google/refine/expr/functions/date/DatePart.java b/main/src/com/google/refine/expr/functions/date/DatePart.java index 586fe73f7..635290ab3 100644 --- a/main/src/com/google/refine/expr/functions/date/DatePart.java +++ b/main/src/com/google/refine/expr/functions/date/DatePart.java @@ -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[] {