Skip to content

Commit 0a8df16

Browse files
committed
Fix date parsing
1 parent 3ca7188 commit 0a8df16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

LDK/test/src/org/labkey/test/tests/external/labModules/LabModulesTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1426,7 +1426,7 @@ private void samplesTableTest() throws Exception
14261426
String val = row.get(name) == null ? "" : String.valueOf(row.get(name));
14271427
if (name.toLowerCase().contains("date"))
14281428
{
1429-
val = StringUtils.isEmpty(val) ? "" : dateFormat.format(val);
1429+
val = StringUtils.isEmpty(val) ? "" : dateFormat.format(dateFormat.parse(val));
14301430
}
14311431

14321432
target.add(val);

0 commit comments

Comments
 (0)