Skip to content

Commit f668ab5

Browse files
committed
update README.md
1 parent 068d69e commit f668ab5

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
@@ -9,7 +9,7 @@ Kotlin Multiplatform library for network time synchronization. It extends the [`
99
- Desktop JVM (MacOS, Linux, Windows)
1010
## Usage
1111
### `kotlin.time` Extension
12-
The library [extends the main `Clock` interface](https://github.com/softartdev/Kronos-Multiplatform/blob/main/kronos/src/commonMain/kotlin/com/softartdev/kronos/ClockExt.kt) from the standard library. You can use the [Clock.Network](https://github.com/softartdev/Kronos-Multiplatform/blob/main/kronos/src/commonMain/kotlin/com/softartdev/kronos/NetworkClock.kt) class to retrieve the current network time, similar to using the built-in [`Clock.System`](https://github.com/JetBrains/kotlin/blob/master/libraries/stdlib/src/kotlin/time/Clock.kt#L60) instance.
12+
The library [extends the main `Clock` interface](https://github.com/softartdev/Kronos-Multiplatform/blob/main/kronos/src/commonMain/kotlin/com/softartdev/kronos/ClockExt.kt) from the standard library. You can use the [`Clock.Network`](https://github.com/softartdev/Kronos-Multiplatform/blob/main/kronos/src/commonMain/kotlin/com/softartdev/kronos/NetworkClock.kt) class to retrieve the current network time, similar to using the built-in [`Clock.System`](https://github.com/JetBrains/kotlin/blob/master/libraries/stdlib/src/kotlin/time/Clock.kt#L60) instance.
1313
```kotlin
1414
val networkTime: Instant = Clock.Network.now() // 2025-06-30T13:42:43.712Z
1515
val systemTime: Instant = Clock.System.now() // 2025-06-30T13:42:43.566455Z

0 commit comments

Comments
 (0)