Skip to content

Commit

Permalink
test(datetime): min/max failing cases
Browse files Browse the repository at this point in the history
  • Loading branch information
manucorporat committed Mar 8, 2017
1 parent 62bf2be commit f4c9ba6
Show file tree
Hide file tree
Showing 2 changed files with 78 additions and 0 deletions.
33 changes: 33 additions & 0 deletions src/components/datetime/test/issues/app.module.ts
Original file line number Diff line number Diff line change
@@ -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: '<ion-nav [root]="root"></ion-nav>'
})
export class E2EApp {
root = E2EPage;
}

@NgModule({
declarations: [
E2EApp,
E2EPage
],
imports: [
IonicModule.forRoot(E2EApp)
],
bootstrap: [IonicApp],
entryComponents: [
E2EPage
]
})
export class AppModule {}
45 changes: 45 additions & 0 deletions src/components/datetime/test/issues/main.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
<ion-header>

<ion-toolbar>
<ion-title>Datetime</ion-title>
</ion-toolbar>

</ion-header>


<ion-content class="outer-content">

<ion-item>
<ion-label>
min="2017-07-01"
max="2017-12-01"
</ion-label>
<ion-datetime
min="2017-07-01"
max="2017-12-01"
></ion-datetime>
</ion-item>

<ion-item>
<ion-label>
min="2017-01-01"
max="2017-12-01"
</ion-label>
<ion-datetime
min="2017-01-01"
max="2017-12-01"
></ion-datetime>
</ion-item>

<ion-item>
<ion-label>
min="2017-01-15"
max="2017-01-30"
</ion-label>
<ion-datetime
min="2017-01-15"
max="2017-01-30"
></ion-datetime>
</ion-item>

</ion-content>

0 comments on commit f4c9ba6

Please sign in to comment.