Fix su format data in SmartLogistic

This commit is contained in:
2024-09-11 09:46:24 +02:00
parent 6a96c920f1
commit de9bcceb21

View File

@@ -599,7 +599,7 @@ public class SmartLogisticService {
if (!UtilityString.isNullOrEmpty(collo.getNumOrd()))
numOrd = collo.getNumOrd();
if (!UtilityString.isNullOrEmpty(collo.getDataVers()))
dataVers = sdf.format(collo.getDataVers());
dataVers = CommonConstants.DATETIME_YMD_DASHED_FORMATTER.format(collo.getDataVers());
String keyCol = "<GESTIONE>" + collo.getGestione() + "</GESTIONE>" +
"<DATA_COLLO>" + CommonConstants.DATETIME_YMD_DASHED_FORMATTER.format(UtilityLocalDate.localDateTimeFromLocalDate(collo.getDataCollo())) + "</DATA_COLLO>" +