We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23a81c2 commit 3d2c085Copy full SHA for 3d2c085
demo-angular/e2e/tests.e2e.ts
@@ -167,6 +167,10 @@ describe("DateTimePicker", () => {
167
await acceptBtn.click();
168
let index = driver.isAndroid ? " " : "."
169
let day = date.substring(0, date.indexOf(index));
170
+ let dayNum = parseInt(day);
171
+ if(!driver.isAndroid && dayNum < 10){
172
+ day = "0" + day;
173
+ }
174
let month = date.substring(date.indexOf(" ") + 1, date.indexOf(","));
175
month = month.substring(0, 3);
176
let monthString = deMonths[month];
0 commit comments