File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
java/src/main/java/com/genexus/internet Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -54,8 +54,8 @@ public class GXRestAPIClient {
54
54
public enum DateFormat {
55
55
56
56
DATE_FMT (1 , "yyyy-MM-dd" ),
57
- DATETIME_FMT (3 , "yyyy-MM-dd'T'HH:mm:ss" ),
58
- DATETIME_FMT_MS (4 , "yyyy-MM-dd'T'HH:mm:ss.SSS" );
57
+ DATETIME_FMT (2 , "yyyy-MM-dd'T'HH:mm:ss" ),
58
+ DATETIME_FMT_MS (3 , "yyyy-MM-dd'T'HH:mm:ss.SSS" );
59
59
60
60
private final int fmtId ;
61
61
private final String fmtString ;
@@ -336,7 +336,7 @@ public Date getBodyDate(String varName) {
336
336
if (val .startsWith (DATE_NULL ))
337
337
return CommonUtil .newNullDate ();
338
338
else
339
- return new SimpleDateFormat (DateFormat .DATETIME_FMT .getFormat ()).parse (val );
339
+ return new SimpleDateFormat (DateFormat .DATE_FMT .getFormat ()).parse (val );
340
340
}
341
341
catch (ParseException e ) {
342
342
return CommonUtil .newNullDate ();
You can’t perform that action at this time.
0 commit comments