Skip to content

Global Date/Time/Number Formats: Add API Descriptions#8697

Open
arman-boyakhchyan wants to merge 3 commits intoDevExpress:26_1from
arman-boyakhchyan:global-date-time-formats-api-26-1
Open

Global Date/Time/Number Formats: Add API Descriptions#8697
arman-boyakhchyan wants to merge 3 commits intoDevExpress:26_1from
arman-boyakhchyan:global-date-time-formats-api-26-1

Conversation

@arman-boyakhchyan
Copy link
Copy Markdown
Contributor

No description provided.

@arman-boyakhchyan arman-boyakhchyan self-assigned this Apr 28, 2026
Copilot AI review requested due to automatic review settings April 28, 2026 13:20
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Adds API reference documentation for global date/time/number formatting options in DevExtreme’s GlobalConfig.

Changes:

  • Documented GlobalConfig.dateFormat, GlobalConfig.timeFormat, GlobalConfig.dateTimeFormat, and GlobalConfig.numberFormat usage and locale-specific configuration.
  • Added documentation for GlobalConfig.dateTimeFormatPresets and how to override predefined date/time formats.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
api-reference/50 Common/Object Structures/GlobalConfig/timeFormat.md New docs page for configuring global time formatting, with per-framework examples.
api-reference/50 Common/Object Structures/GlobalConfig/numberFormat.md New docs page for configuring global number formatting, with per-framework examples.
api-reference/50 Common/Object Structures/GlobalConfig/dateTimeFormatPresets.md New docs page for overriding predefined date/time format presets, including locale overrides.
api-reference/50 Common/Object Structures/GlobalConfig/dateTimeFormat.md New docs page for configuring global date+time formatting, with per-framework examples.
api-reference/50 Common/Object Structures/GlobalConfig/dateFormat.md New docs page for configuring global date formatting, with per-framework examples.

Comment thread api-reference/50 Common/Object Structures/GlobalConfig/timeFormat.md Outdated
Comment thread api-reference/50 Common/Object Structures/GlobalConfig/numberFormat.md Outdated
Comment thread api-reference/50 Common/Object Structures/GlobalConfig/dateTimeFormat.md Outdated
Comment thread api-reference/50 Common/Object Structures/GlobalConfig/dateFormat.md Outdated
Copilot AI review requested due to automatic review settings April 29, 2026 07:14
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated 9 comments.

Comment on lines +21 to +27
dateTimeFormatPresets: {
shortDate: {
default: 'dd/MM/yyyy',
'en-US': 'MM/dd/yyyy',
},
shortTime: 'HH:mm:ss',
}
@@ -0,0 +1,101 @@
---
id: GlobalConfig.dateTimeFormat
type: LocalizationFormat | Record
@@ -0,0 +1,101 @@
---
id: GlobalConfig.dateFormat
type: LocalizationFormat | Record
Comment on lines +18 to +20
DevExpress.config({
dateFormat: 'yyyy-MM-dd',
});
@@ -0,0 +1,101 @@
---
id: GlobalConfig.timeFormat
type: LocalizationFormat | Record
Comment on lines +18 to +20
DevExpress.config({
timeFormat: 'HH:mm:ss',
});
@@ -0,0 +1,101 @@
---
id: GlobalConfig.numberFormat
type: LocalizationFormat | Record
Comment on lines +18 to +20
DevExpress.config({
numberFormat: '#0.#',
});
Comment on lines +18 to +20
DevExpress.config({
dateTimeFormat: 'yyyy-MM-dd, HH:mm:ss',
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants