Skip to content

Commit ec89077

Browse files
author
dmihaylo
committed
docs: review format parts content
1 parent a545632 commit ec89077

File tree

3 files changed

+7
-9
lines changed

3 files changed

+7
-9
lines changed

docs/date-formatting/api.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,7 @@ The formatted date.
162162

163163
#### splitDateFormat
164164

165-
Returns information about the individual segments of a format.
166-
The returned objects contain the segment type(year, month, etc.), the pattern and information about the type of names that are used for the pattern.
165+
Returns information about the individual segments of a format. The returned objects contain the segment type (for example, year or month), the pattern, and the information about the type of names that are used for the pattern.
167166

168167
## Parameters
169168

@@ -173,10 +172,10 @@ Specifies a string representing a predefined or custom date format, or a configu
173172

174173
#### locale `String`
175174

176-
Defines the locale id.
175+
Defines the locale ID.
177176

178177
## Return Value
179178

180179
#### Returns `Array`
181180

182-
An array with the information about the format segments.
181+
An array with information about the format segments.

docs/date-formatting/index.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -321,12 +321,11 @@ The supported types of options are:
321321

322322
formatDate(new Date(2000, 10, 6), { year: "numeric", month: "long" }); // November 2000
323323

324-
# Splitting date formats
324+
## Splitting Date Formats
325325

326-
In some cases you may need more detailed information about the format itself in order to utilize or manipulate individual parts of the format.
327-
The `splitDateFormat` method can be used to get information about each individual segment of the format.
326+
To utilize or manipulate individual parts of the format, you might need more detailed information about the format itself in some cases. You can use the `splitDateFormat` method to get information about each individual segment of the format.
328327

329-
For example, using abbreviated names in a predefined format can be implemented in the following way.
328+
The following example demonstrates how to implement the usage of abbreviated names in a predefined format.
330329

331330
import { formatDate, splitDateFormat } from '@telerik/kendo-intl';
332331

src/dates.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export interface DateFormatOptions {
1010
skeleton?: string;
1111

1212
/**
13-
* Defines exact pattern to be used to format the date.
13+
* Defines the exact pattern to be used to format the date.
1414
*/
1515
pattern?: string;
1616

0 commit comments

Comments
 (0)