You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
There is a mistake for hour. It should be val hours = minutes / 60 rather than val hours = minutes / 24. The same to val h = hours % 24.
Describe the bug
There is a mistake for hour. It should be val hours = minutes / 60 rather than val hours = minutes / 24. The same to val h = hours % 24.
Path: chat\shared\src\commonMain\kotlin\currentTime.common.kt
fun timeToString(timestampMs: Long): String {
val seconds = timestampMs
val minutes = seconds / 1000 / 60
val hours = minutes / 60
// val hours = minutes / 24
// val h = hours % 24
}
expect fun timestampMs(): Long
The text was updated successfully, but these errors were encountered: