Skip to content

Commit

Permalink
test for processing date in yyyyMMdd format
Browse files Browse the repository at this point in the history
test for processing date in yyyyMMdd format to verify that the issue mentioned at https://ideas.salesforce.com/s/idea/a0B8W00000H5I2ZUAV/data-loader-sfdctimezone
  • Loading branch information
ashitsalesforce committed Oct 26, 2023
1 parent 6216619 commit f6411ba
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,9 @@ public void testFullBasicFormat() {
assertValidDate("String to calendar conversation fails when minutes not specified with non-GMT timezone", dateStringWithFullBasicTime, calDateGMT, false);
assertValidDate("String to calendar conversation fails when minutes not specified with sans-T format", dateStringWithoutT, calDateGMT, false);

dateStringWithoutT = "20111015"; //yyyyMMdd
calDateGMT.set(2011, 9, 15, 0, 0, 0);
assertValidDate("String to calendar conversation fails when minutes not specified with sans-T format", dateStringWithoutT, calDateGMT, false);
}

/**
Expand Down

0 comments on commit f6411ba

Please sign in to comment.