From ec7b7d5ddc761246dc491bcd426f27915ba3ec14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dar=C3=ADo=20Here=C3=B1=C3=BA?= Date: Fri, 29 Mar 2019 23:06:29 -0300 Subject: [PATCH 1/2] Fixed typo on string #57 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index bcccec7..8404294 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ import { NativeScriptDateTimePickerModule } from "nativescript-datetimepicker/an ], ... ``` - Then you will be able to decrare the fields in the html of your component: + Then you will be able to declare the fields in the html of your component: ```html From 3d2c085adbb97412ea7d11555666ec261205b974 Mon Sep 17 00:00:00 2001 From: Dimitar Todorov Date: Fri, 5 Apr 2019 17:36:44 +0300 Subject: [PATCH 2/2] Fix: day string in de_DE format test for iOS --- demo-angular/e2e/tests.e2e.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/demo-angular/e2e/tests.e2e.ts b/demo-angular/e2e/tests.e2e.ts index f1c7480..7acbc59 100644 --- a/demo-angular/e2e/tests.e2e.ts +++ b/demo-angular/e2e/tests.e2e.ts @@ -167,6 +167,10 @@ describe("DateTimePicker", () => { await acceptBtn.click(); let index = driver.isAndroid ? " " : "." let day = date.substring(0, date.indexOf(index)); + let dayNum = parseInt(day); + if(!driver.isAndroid && dayNum < 10){ + day = "0" + day; + } let month = date.substring(date.indexOf(" ") + 1, date.indexOf(",")); month = month.substring(0, 3); let monthString = deMonths[month];