mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Merged V2.0 to HEAD
5110: AR-1166 5111: AR-729 5112: AR-1217 5113: RM email propery extraction git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5313 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
package org.alfresco.repo.forum;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.util.Date;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
@@ -179,7 +180,8 @@ public class DiscussableAspect
|
||||
ContentModel.PROP_VERSION_LABEL);
|
||||
if (labelProp == null)
|
||||
{
|
||||
topicName = childName + " - " + new Date();
|
||||
SimpleDateFormat dateFormat = new SimpleDateFormat("dd-MM-yyyy-HH-mm-ss");
|
||||
topicName = childName + " - " + dateFormat.format(new Date());
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user