Skip to content

Commit 9417e64

Browse files
committed
Adjust the date time editor page to display the different types as a table
1 parent 9453fbb commit 9417e64

File tree

1 file changed

+7
-24
lines changed
  • 16/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/date-time-editor

1 file changed

+7
-24
lines changed

16/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/date-time-editor/README.md

Lines changed: 7 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -3,31 +3,14 @@
33
The Date Time property editors provide interfaces for selecting dates, times, and time zones. Each editor is designed for specific use cases, from basic date selection to comprehensive date/time handling with time zone support.
44

55
{% hint style="info" %}
6-
These property editors supersede the [Date Time](../date-time.md) property editor, offering more focused functionality and specific return types (like `DateOnly`, `TimeOnly`, `DateTime`, or `DateTimeOffset`). You can switch from the legacy Date Time editor by changing your properties to use data types with these new editors.
6+
These property editors supersede the [Date Time](../date-time.md) property editor, offering more focused functionality and specific return types (like `DateOnly`, `TimeOnly`, `DateTime`, or `DateTimeOffset`). You can switch from the legacy Date Time editor by changing your properties to use the new editors.
77
{% endhint %}
88

99
Umbraco CMS currently ships with four Date Time editors:
1010

11-
## [Date Only](date-only.md)
12-
13-
For selecting dates without time or time zone information. Returns `DateOnly?` values and is ideal for birthdays, deadlines, and event dates.
14-
15-
![Date Only property editor interface](./images/date-only-editor.png)
16-
17-
## [Time Only](time-only.md)
18-
19-
For selecting times without date or time zone information. Returns `TimeOnly?` values and is ideal for business hours, schedules, and time-based events.
20-
21-
![Time Only property editor interface](./images/time-only-time-format-hhmm.png)
22-
23-
## [Date Time (Unspecified)](date-time-unspecified.md)
24-
25-
For selecting dates and times without time zone information. Returns `DateTime?` values and is compatible with existing [DateTime](../date-time.md) editor.
26-
27-
![Date Time (unspecified) property editor interface](./images/date-time-time-format-hhmm.png)
28-
29-
## [Date Time (with Time Zone)](date-time-with-time-zone.md)
30-
31-
For comprehensive date, time, and time zone selection. Returns `DateTimeOffset?` values and handles time zones, daylight saving time, and international date/time scenarios.
32-
33-
![Date Time (with time zone) property editor interface](./images/date-time-with-time-zone-editor.png)
11+
| Editor | Purpose | Use Cases | Return Type | Preview |
12+
|--------|---------|-----------|-------------|---------|
13+
| [Date Only](date-only.md) | Date selection | Birthdays, deadlines, event dates | `DateOnly` | ![Date Only editor](./images/date-only-editor.png) |
14+
| [Time Only](time-only.md) | Time selection | Business hours, schedules, time-based events | `TimeOnly` | ![Time Only editor](./images/time-only-time-format-hhmm.png) |
15+
| [Date Time (Unspecified)](date-time-unspecified.md) | Date and time without timezone | Local events | `DateTime` | ![Date Time Unspecified editor](./images/date-time-time-format-hhmm.png) |
16+
| [Date Time (with Time Zone)](date-time-with-time-zone.md) | Full date, time, and timezone support | International apps, timezone-aware scheduling | `DateTimeOffset` | ![Date Time with Time Zone editor](./images/date-time-with-time-zone-editor.png) |

0 commit comments

Comments
 (0)