From ddcab12afb8c4b454a29cc07e5194dde4fa279ec Mon Sep 17 00:00:00 2001 From: Giancarlo Panichi Date: Fri, 20 Dec 2013 11:31:44 +0000 Subject: [PATCH] Minor updated git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-gwt-service@87248 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../portlets/user/td/gwtservice/server/TDGWTServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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));