File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
LDK/test/src/org/labkey/test/tests/external/labModules Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 1616package org .labkey .test .tests .external .labModules ;
1717
1818import org .apache .commons .lang3 .StringUtils ;
19+ import org .apache .commons .lang3 .time .DateFormatUtils ;
20+ import org .apache .commons .lang3 .time .DateUtils ;
1921import org .apache .commons .lang3 .tuple .Pair ;
2022import org .apache .poi .ss .usermodel .Sheet ;
2123import org .apache .poi .ss .usermodel .Workbook ;
2224import org .junit .Assert ;
2325import org .junit .Test ;
2426import org .junit .experimental .categories .Category ;
27+ import org .labkey .api .util .DateUtil ;
2528import org .labkey .remoteapi .CommandException ;
2629import org .labkey .remoteapi .Connection ;
2730import org .labkey .remoteapi .collections .CaseInsensitiveHashMap ;
@@ -1426,7 +1429,7 @@ private void samplesTableTest() throws Exception
14261429 String val = row .get (name ) == null ? "" : String .valueOf (row .get (name ));
14271430 if (name .toLowerCase ().contains ("date" ))
14281431 {
1429- val = StringUtils .isEmpty (val ) ? "" : dateFormat .format (dateFormat .parse (val ));
1432+ val = StringUtils .isEmpty (val ) ? "" : dateFormat .format (Date .parse (val ));
14301433 }
14311434
14321435 target .add (val );
You can’t perform that action at this time.
0 commit comments