Changed DataTime Pattern import due to changes in IS Model

model-reorganization
Luca Frosini 4 years ago
parent bbab9cdf9b
commit 6c6da95d59

@ -19,7 +19,7 @@ import org.gcube.common.authorization.library.AuthorizationEntry;
import org.gcube.common.authorization.library.provider.SecurityTokenProvider;
import org.gcube.common.resources.gcore.Resources;
import org.gcube.common.scope.api.ScopeProvider;
import org.gcube.informationsystem.base.reference.ISConstants;
import org.gcube.informationsystem.base.reference.Element;
import org.gcube.informationsystem.exporter.mapper.exception.CreateException;
import org.gcube.informationsystem.exporter.mapper.exception.UpdateException;
import org.gcube.informationsystem.model.reference.entities.Facet;
@ -93,7 +93,7 @@ public abstract class GCoreResourceMapper<GR extends org.gcube.common.resources.
public static String getDateString(Calendar calendar) {
Date date = calendar.getTime();
SimpleDateFormat format = new SimpleDateFormat(ISConstants.DATETIME_PATTERN);
SimpleDateFormat format = new SimpleDateFormat(Element.DATETIME_PATTERN);
return format.format(date);
}

Loading…
Cancel
Save