mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
RM-1234, Changed formatting of date.year.week substitution to match help text
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63075 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -47,13 +47,18 @@ public class DateParameterProcessor extends ParameterProcessor implements Parame
|
||||
|
||||
private static final String[] ALL_FIELDS_FOR_SUBSTITUTION_QUERY = {
|
||||
DAY + SEP + SHORT,
|
||||
DAY,
|
||||
DAY + SEP + LONG,
|
||||
DAY + SEP + NUMBER,
|
||||
DAY + SEP + YEAR,
|
||||
MONTH + SEP + SHORT,
|
||||
MONTH,
|
||||
MONTH + SEP + LONG,
|
||||
MONTH + SEP + NUMBER,
|
||||
YEAR + SEP + SHORT,
|
||||
YEAR + SEP + LONG
|
||||
YEAR,
|
||||
YEAR + SEP + LONG,
|
||||
YEAR + SEP + WEEK
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -163,7 +168,7 @@ public class DateParameterProcessor extends ParameterProcessor implements Parame
|
||||
}
|
||||
else if (WEEK.equalsIgnoreCase(style))
|
||||
{
|
||||
pattern = "w";
|
||||
pattern = "ww";
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user