mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
[ACS-5857] removed unused variables and fixed date format in e2es
This commit is contained in:
@@ -39,9 +39,9 @@ describe('Form Component', () => {
|
||||
const message = {
|
||||
test: 'Text Test',
|
||||
warningNumberAndAmount: 'Use a different number format',
|
||||
warningDate: 'D-M-YYYY',
|
||||
warningDate: 'd-M-yyyy',
|
||||
errorLogNumber: 'Error Label4 Use a different number format',
|
||||
errorLogDate: 'Error Label7 D-M-YYYY',
|
||||
errorLogDate: 'Error Label7 d-M-yyyy',
|
||||
errorLogAmount: 'Error Label11 Use a different number format',
|
||||
errorLabel: 'Error Label4'
|
||||
};
|
||||
|
||||
@@ -93,7 +93,7 @@ export const customDateFormAPS1 = `{
|
||||
"existingColspan": 1,
|
||||
"maxColspan": 2
|
||||
},
|
||||
"dateDisplayFormat": "YY-M-D",
|
||||
"dateDisplayFormat": "yy-M-d",
|
||||
"layout": {
|
||||
"row": -1,
|
||||
"column": -1,
|
||||
@@ -157,7 +157,7 @@ export const customDateFormAPS2 = `{
|
||||
"existingColspan":1,
|
||||
"maxColspan":2
|
||||
},
|
||||
"dateDisplayFormat":"YY-M-D"
|
||||
"dateDisplayFormat":"yy-M-d"
|
||||
}
|
||||
],
|
||||
"2":[
|
||||
|
||||
@@ -52,8 +52,6 @@ export class DateCloudWidgetComponent extends WidgetComponent implements OnInit,
|
||||
minDate: string;
|
||||
maxDate: string;
|
||||
|
||||
DATE_FORMAT = 'd-M-yyyy';
|
||||
|
||||
private onDestroy$ = new Subject<boolean>();
|
||||
|
||||
constructor(public formService: FormService,
|
||||
|
||||
Reference in New Issue
Block a user