diff --git a/src/main/java/org/gcube/portlets/user/td/gwtservice/server/TDGWTServiceImpl.java b/src/main/java/org/gcube/portlets/user/td/gwtservice/server/TDGWTServiceImpl.java index 19a68c1..890269d 100644 --- a/src/main/java/org/gcube/portlets/user/td/gwtservice/server/TDGWTServiceImpl.java +++ b/src/main/java/org/gcube/portlets/user/td/gwtservice/server/TDGWTServiceImpl.java @@ -403,7 +403,7 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements */ protected void syncTRMetaData(TabularResource tr, TabResource tabResource) { // Date date = Calendar.getInstance().getTime(); - tabResource.setDate(sdf.format(tr.getCreationDate())); + tabResource.setDate(sdf.format(tr.getCreationDate().getTime())); tr.setMetadata(new NameMetadata(tabResource.getName())); tr.setMetadata(new DescriptionMetadata(tabResource.getDescription())); // tr.setMetadata(new CreationDateMetadata(date));