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:
Derek Hulley
2007-03-06 15:00:54 +00:00
parent 563ca10bea
commit bf9a4976e7
4 changed files with 40 additions and 13 deletions

View File

@@ -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
{