mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[APPS-2108] break direct dependency on moment.js (#9032)
* break direct dependency on moment.js * [ci:force] preserve moment for cli tools * remove MatMomentDatetimeModule from content * share dialog fixes * revert testing module changes * remove incorrect date modules * fix html
This commit is contained in:
@@ -60,8 +60,8 @@ export class DateRangeWidgetComponent implements OnInit {
|
||||
constructor(private dateAdapter: DateAdapter<Date>) {}
|
||||
|
||||
ngOnInit() {
|
||||
const momentDateAdapter = this.dateAdapter as AdfDateFnsAdapter;
|
||||
momentDateAdapter.displayFormat = DISPLAY_FORMAT;
|
||||
const dateAdapter = this.dateAdapter as AdfDateFnsAdapter;
|
||||
dateAdapter.displayFormat = DISPLAY_FORMAT;
|
||||
|
||||
if (this.field) {
|
||||
if (this.field.value?.startDate) {
|
||||
|
Reference in New Issue
Block a user