Skip to content

Commit 86c1d96

Browse files
committed
Replace underscore separator
1 parent b92d4a2 commit 86c1d96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runtime/runtime-core/native/src/aws/smithy/kotlin/runtime/time/InstantNative.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ private fun TimestampFormat.asDateTimeFormat() = when (this) {
1818
else -> throw IllegalArgumentException("TimestampFormat $this could not be converted to a DateTimeFormat")
1919
}
2020

21-
private fun KtInstant.truncateToMicros(): KtInstant = KtInstant.fromEpochSeconds(epochSeconds, nanosecondsOfSecond / 1000 * 1000)
21+
private fun KtInstant.truncateToMicros(): KtInstant = KtInstant.fromEpochSeconds(epochSeconds, nanosecondsOfSecond / 1_000 * 1_000)
2222

2323
public actual class Instant(internal val delegate: KtInstant) : Comparable<Instant> {
2424

0 commit comments

Comments
 (0)