From f4c9ba6614b23adb44354e5cb5894912c8e5b3ef Mon Sep 17 00:00:00 2001 From: "Manu Mtz.-Almeida" Date: Tue, 7 Mar 2017 19:02:23 +0100 Subject: [PATCH] test(datetime): min/max failing cases --- .../datetime/test/issues/app.module.ts | 33 ++++++++++++++ src/components/datetime/test/issues/main.html | 45 +++++++++++++++++++ 2 files changed, 78 insertions(+) create mode 100644 src/components/datetime/test/issues/app.module.ts create mode 100644 src/components/datetime/test/issues/main.html diff --git a/src/components/datetime/test/issues/app.module.ts b/src/components/datetime/test/issues/app.module.ts new file mode 100644 index 00000000000..1e0379b623b --- /dev/null +++ b/src/components/datetime/test/issues/app.module.ts @@ -0,0 +1,33 @@ +import { Component, NgModule } from '@angular/core'; +import { IonicApp, IonicModule } from '../../../../../ionic-angular'; + + + +@Component({ + templateUrl: 'main.html' +}) +export class E2EPage { +} + + +@Component({ + template: '' +}) +export class E2EApp { + root = E2EPage; +} + +@NgModule({ + declarations: [ + E2EApp, + E2EPage + ], + imports: [ + IonicModule.forRoot(E2EApp) + ], + bootstrap: [IonicApp], + entryComponents: [ + E2EPage + ] +}) +export class AppModule {} diff --git a/src/components/datetime/test/issues/main.html b/src/components/datetime/test/issues/main.html new file mode 100644 index 00000000000..f1aecb38284 --- /dev/null +++ b/src/components/datetime/test/issues/main.html @@ -0,0 +1,45 @@ + + + + Datetime + + + + + + + + + + min="2017-07-01" + max="2017-12-01" + + + + + + + min="2017-01-01" + max="2017-12-01" + + + + + + + min="2017-01-15" + max="2017-01-30" + + + + +