Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions examples/fields/SmartDateField.README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ Reference the [package.json](../../package.json).
## Locale
You can instantiate a field with a locale argument of `"en"` `"fr"` `"nl"` `"ru"` or `"de"` this controls some default parsing behavor, `en` is the default. Behavior that changes includes words used for months and days. It also controls the default order of ambiguous month/day in Dates.

For the string `'06/02/09'`, `en` expects day first, then month yielding February 6th
`fr` expects month first, yielding June 2nd.
For the string `'06/02/09'`, `fr` expects day first, then month yielding February 6th
`en` expects month first, yielding June 2nd.

## Using `formatString`

Expand Down