Skip to content

Commit c97e19a

Browse files
devvaannshabose
authored andcommitted
fix: docusaurus build fail cause of acorn
1 parent 5609e63 commit c97e19a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/API-Reference/utils/LocalizationUtils.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Formats a given date object into a locale-aware date and time string.
2828
| --- | --- | --- |
2929
| [date] | <code>Date</code> | The date object to format. If not provided, the current date and time will be used. |
3030
| [lang] | <code>string</code> | Optional language code to use for formatting (e.g., 'en', 'fr'). If not provided, defaults to the application locale or 'en'. |
31-
| [dateTimeFormat] | <code>Object</code> | Optional object specifying the date and time formatting options. Defaults to { dateStyle: 'medium', timeStyle: 'short' }. |
31+
| [dateTimeFormat] | <code>Object</code> | Optional object specifying the date and time formatting options. Defaults to `{ dateStyle: 'medium', timeStyle: 'short' }`. |
3232
| [dateTimeFormat.dateStyle] | <code>string</code> | Specifies the date format style. One of: DATE_TIME_STYLE.* |
3333
| [dateTimeFormat.timeStyle] | <code>string</code> | Specifies the time format style. One of: DATE_TIME_STYLE.* |
3434

src/utils/LocalizationUtils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ define(function (require, exports, module) {
5353
* @param {string} [lang] - Optional language code to use for formatting (e.g., 'en', 'fr').
5454
* If not provided, defaults to the application locale or 'en'.
5555
* @param {Object} [dateTimeFormat] - Optional object specifying the date and time formatting options.
56-
* Defaults to { dateStyle: 'medium', timeStyle: 'short' }.
56+
* Defaults to `{ dateStyle: 'medium', timeStyle: 'short' }`.
5757
* @param {string} [dateTimeFormat.dateStyle] - Specifies the date format style. One of: DATE_TIME_STYLE.*
5858
* @param {string} [dateTimeFormat.timeStyle] - Specifies the time format style. One of: DATE_TIME_STYLE.*
5959
* @returns {string} - The formatted date and time string (e.g., "Dec 24, 2024, 10:30 AM").

0 commit comments

Comments
 (0)