Skip to content

Commit 154a53d

Browse files
committed
(Clock) Fix 12-h time bug #10
1 parent f0fc3f3 commit 154a53d

File tree

1 file changed

+1
-1
lines changed
  • clock/src/main/java/com/maxkeppeler/sheets/clock/utils

1 file changed

+1
-1
lines changed

clock/src/main/java/com/maxkeppeler/sheets/clock/utils/Utils.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import java.time.LocalTime
2121

2222
@RestrictTo(RestrictTo.Scope.LIBRARY_GROUP)
2323
internal fun isAm(currentTime: LocalTime): Boolean {
24-
return currentTime.hour <= 12
24+
return currentTime.hour < 12
2525
}
2626

2727
@RestrictTo(RestrictTo.Scope.LIBRARY_GROUP)

0 commit comments

Comments
 (0)