mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
RM-1070, added rule property substitution for day of month
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@73716 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -50,6 +50,7 @@ public class DateParameterProcessor extends ParameterProcessor implements Parame
|
||||
DAY,
|
||||
DAY + SEP + LONG,
|
||||
DAY + SEP + NUMBER,
|
||||
DAY + SEP + MONTH,
|
||||
DAY + SEP + YEAR,
|
||||
MONTH + SEP + SHORT,
|
||||
MONTH,
|
||||
@@ -116,11 +117,15 @@ public class DateParameterProcessor extends ParameterProcessor implements Parame
|
||||
}
|
||||
else if (NUMBER.equalsIgnoreCase(style))
|
||||
{
|
||||
pattern = "u";
|
||||
pattern = "uu";
|
||||
}
|
||||
else if (MONTH.equalsIgnoreCase(style))
|
||||
{
|
||||
pattern = "dd";
|
||||
}
|
||||
else if (YEAR.equalsIgnoreCase(style))
|
||||
{
|
||||
pattern = "D";
|
||||
pattern = "DDD";
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user