Skip to content

Commit 6b1fafb

Browse files
authored
fix: Minor typos in datetime widget page (#90)
* doc: Fix typos on datetime page * chore: Remove trailing whitespace from datetime doc
1 parent 151733d commit 6b1fafb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

content/docs/widgets/datetime.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,17 @@ The datetime widget translates a datetime picker to a datetime string.
77

88
**Name:** `datetime`
99

10-
**UI:** datetime-local input / date inupt / time input
10+
**UI:** datetime-local input / date input / time input
1111

1212
**Data type:** [Day.js](https://day.js.org/)-formatted datetime string
1313

1414
**Options:**
1515

1616
- `default`: accepts a datetime string, or `'{{now}}'` to fill in the current datetime; otherwise defaults to empty string.
17-
18-
<small>Unitl 3.2.1 it defaults to current datetime. To get an empty field, set default to empty string.</small>
17+
18+
<small>Until 3.2.1 it defaults to current datetime. To get an empty field, set default to empty string.</small>
1919
- `format`: sets storage format, displays the full date and time input in the UI. Accepts [Day.js formats](https://day.js.org/docs/en/display/format); defaults to ISO8601 (if supported by output format). If set, `date_format` and `time_format` are not used.
20-
- `date_format`: sets storage format and UI input type as date picker (without time). Boolean or [Day.js formats](https://day.js.org/docs/en/display/format).
20+
- `date_format`: sets storage format and UI input type as date picker (without time). Boolean or [Day.js formats](https://day.js.org/docs/en/display/format).
2121
- `time_format`: sets storage format and UI input type as time picker (without date). Boolean or [Day.js formats](https://day.js.org/docs/en/display/format). If used together with `date_format`, the UI input will be a full datetime picker.
2222
- `picker_utc`: _(default: `false`)_ when set to `true`, the datetime picker will display times in UTC. When `false`, the datetime picker will display times in the user's local timezone. When using date-only formats, it can be helpful to set this to `true` so users in all time zones will see the same date in the datetime picker.
2323

0 commit comments

Comments
 (0)