Skip to content

Commit 9b48e9b

Browse files
docs: Explain why we don't use Instant from Kotlin
1 parent 6e5cfe4 commit 9b48e9b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Network/Models/src/main/java/com/infomaniak/core/network/models/ResponseHeaders.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ class ResponseHeaders(headers: Headers) {
2727
private val headersBacking = HeadersBacking(headers)
2828

2929
private val _lastModified: String? by headersBacking.header("last-modified")
30+
// TODO: Use [Instant] from kotlin when Kotlin version is bump to 2.1.0
3031
val lastModified: Instant by lazy { getLastModified() }
3132

3233
private fun getLastModified(): Instant {

0 commit comments

Comments
 (0)