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
This commit is contained in:
Giancarlo Panichi 2013-12-20 11:31:44 +00:00
parent a007f8142d
commit ddcab12afb
1 changed files with 1 additions and 1 deletions

View File

@ -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));