Skip to content

Commit 49be45c

Browse files
committed
Small adjustments following the linter feedback
1 parent 9ad68fb commit 49be45c

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

16/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/date-only.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66

77
`Returns: DateOnly?`
88

9-
The Date Only property editor provides a simple interface for selecting dates without time or time zone information. It focuses purely on date selection and returns `DateOnly` values.
9+
The Date Only property editor provides an interface for selecting dates without time or time zone information. It focuses purely on date selection and returns `DateOnly` values.
1010

1111
## Key Features
1212

1313
- Calendar-based date selection
1414
- No time or time zone components
15-
- Simple, focused interface
15+
- Focused interface
1616
- Returns strongly-typed `DateOnly?` values
1717
- Ideal for birthdays, deadlines, and event dates
1818
- No configuration required

16/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/date-time-with-time-zone.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Use this when you need more precise timing.
4040

4141
### Time zones
4242

43-
- **All** - Displays the full list of IANA time zones (e.g., `America/New_York`, `Europe/Stockholm`).
43+
- **All** - Displays the full list of [IANA time zones](https://www.iana.org/time-zones) (e.g., `America/New_York`, `Europe/Stockholm`).
4444
- **Local** - Displays only the local time zone of the user's browser/computer.
4545
Useful for simplifying the UI when time entries should always be based on the user’s local context.
4646
- **Custom** - Allows you to define a list of time zones.
@@ -54,7 +54,7 @@ When you select this option, a dropdown appears. You can search and select from
5454

5555
The selected time zone affects how the date/time is displayed and stored.
5656
When you select a time zone, the value will be saved with the corresponding offset (e.g., `2025-01-01T14:30:00+01:00`).
57-
Daylight saving time (DST) is also taken into account.
57+
Daylight saving time is also taken into account.
5858

5959
## Editing experience
6060

@@ -66,7 +66,7 @@ You will be presented with date, time and time zone inputs. The time zone input
6666

6767
If your browser time zone is in the list and no date has been stored yet, the browser time zone will be pre-selected by default.
6868

69-
If only one time zone is available, you will see a simple label with the time zone name instead.
69+
If only one time zone is available, you will see a label with the time zone name instead.
7070

7171
![Date Time with Time Zone property editor displaying a single time zone as a static label instead of dropdown](../built-in-umbraco-property-editors/images/date-time-with-time-zone-single-time-zone.png)
7272

@@ -106,7 +106,7 @@ DateTime? utcDateTime = Model.EventDateTime?.UtcDateTime;
106106

107107
## Add values programmatically
108108

109-
This property editor stores values as a JSON object. The object contains both the date (as an ISO 8601 string) and the selected time zone (as an IANA identifier).
109+
This property editor stores values as a JSON object. The object contains both the date (as an ISO 8601 string) and the selected [IANA](https://www.iana.org/time-zones) time zone identifier).
110110

111111
### Storage format
112112

@@ -134,7 +134,7 @@ The property editor stores values in this JSON format:
134134
public DateTimeOffset Date { get; init; }
135135

136136
/// <summary>
137-
/// The IANA identifier of the time zone to pre-select in the editor. E.g., "Europe/Copenhagen".
137+
/// The identifier of the time zone to pre-select in the editor. E.g., "Europe/Copenhagen".
138138
/// </summary>
139139
[JsonPropertyName("timeZone")]
140140
public string TimeZone { get; init; }

16/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/time-only.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66

77
`Returns: TimeOnly?`
88

9-
The Time Only property editor provides a simple interface for selecting times. It excludes date or time zone information and returns strongly-typed `TimeOnly` values.
9+
The Time Only property editor provides an interface for selecting times. It excludes date or time zone information and returns strongly-typed `TimeOnly` values.
1010

1111
## Key Features
1212

1313
- Time-based input selection
1414
- Configurable time precision (hours/minutes or hours/minutes/seconds)
1515
- No date or time zone components
16-
- Simple, focused interface for time values
16+
- Focused interface for time values
1717
- Returns strongly-typed `TimeOnly?` values
1818
- Ideal for business hours, schedules, and time-based events
1919

0 commit comments

Comments
 (0)