Skip to content

Commit f6a55d1

Browse files
Alejandro Panizza CarveBeta Bot
authored andcommitted
Cherry pick branch 'genexuslabs:fix/HeaderDateformat' into beta
1 parent 2e296ed commit f6a55d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/src/main/java/com/genexus/internet/GXRestAPIClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ public Date getBodyDate(String varName) {
336336
if (val.startsWith(DATE_NULL))
337337
return CommonUtil.newNullDate();
338338
else
339-
return new SimpleDateFormat(DateFormat.DATETIME_FMT.getFormat()).parse(val);
339+
return new SimpleDateFormat(DateFormat.DATE_FMT.getFormat()).parse(val);
340340
}
341341
catch (ParseException e) {
342342
return CommonUtil.newNullDate();

0 commit comments

Comments
 (0)