We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3119625 commit 9b3c66cCopy full SHA for 9b3c66c
packages/devextreme/js/__internal/scheduler/header/m_header.ts
@@ -1,6 +1,7 @@
1
import '@js/ui/drop_down_button';
2
3
import registerComponent from '@js/core/component_registrator';
4
+import devices from '@js/core/devices';
5
import errors from '@js/core/errors';
6
import $ from '@js/core/renderer';
7
import { getPathParts } from '@js/core/utils/data';
@@ -68,6 +69,12 @@ export class SchedulerHeader extends Widget<HeaderOptions> {
68
69
};
70
}
71
72
+ public _getDefaultOptions(): HeaderOptions {
73
+ return extend(super._getDefaultOptions(), {
74
+ _useShortDateFormat: !devices.real().generic || devices.isSimulator(),
75
+ }) as HeaderOptions;
76
+ }
77
+
78
private _createEventMap(): void {
79
this.eventMap = new Map([
80
['currentView', []],
0 commit comments