[ADF-4342] Create localized pipe and centralize date format (#4813)

* [ADF-4342] Date Format defined in app config

* [ADF-4342] Create localized pipe and centralize date format

* Add unit test for new date pipe

* Add info internationalization docs

* Fix lining

* Fix linting

* Fix date pipe unit test

* [ADF-4342] Add supported language files

* Fix e2e tests
This commit is contained in:
davidcanonieto
2019-06-11 09:35:35 +01:00
committed by Denys Vuika
parent 990fa4625b
commit 7497822a46
38 changed files with 473 additions and 67 deletions

View File

@@ -518,6 +518,29 @@
}
}
},
"dateValues": {
"description": "Configuration of date formats in the app",
"type": "object",
"required": [
"defaultDateFormat",
"defaultDateTimeFormat",
"defaultLocale"
],
"properties": {
"defaultDateFormat": {
"description": "Default date format",
"type": "string"
},
"defaultDateTimeFormat": {
"description": "Default date time format",
"type": "string"
},
"defaultLocale": {
"description": "Default date locale",
"type": "string"
}
}
},
"files": {
"description": "Configuration of rules applied to file upload",
"type": "object",