Skip to content

Commit 5be7784

Browse files
NinoDLCdkhalanskyjb
authored andcommitted
Improve wording an example (#252)
1 parent 8347700 commit 5be7784

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ by converting it to `LocalDateTime` and taking its `date` property.
137137
```kotlin
138138
val now: Instant = Clock.System.now()
139139
val today: LocalDate = now.toLocalDateTime(TimeZone.currentSystemDefault()).date
140-
// or more short
140+
// or shorter
141141
val today: LocalDate = Clock.System.todayIn(TimeZone.currentSystemDefault())
142142
```
143143
Note, that today's date really depends on the time zone in which you're observing the current moment.

0 commit comments

Comments
 (0)