[ADF-1169] validation date start task form (#2208)

* validation date start task form

* move mock test in before each of the creation component
This commit is contained in:
Eugenio Romano
2017-08-14 13:31:50 +01:00
committed by Mario Romano
parent 7aecd13b6f
commit 6d30752386
7 changed files with 235 additions and 138 deletions

View File

@@ -21,10 +21,10 @@ import * as moment from 'moment';
export const MOMENT_DATE_FORMATS: MdDateFormats = {
parse: {
dateInput: 'MM-DD-YYYY'
dateInput: 'DD/MM/YYYY'
},
display: {
dateInput: 'MM-DD-YYYY',
dateInput: 'DD/MM/YYYY',
monthYearLabel: 'MMMM Y',
dateA11yLabel: 'LL',
monthYearA11yLabel: 'MMMM Y'