fix: format hour display on Loop End screen to avoid floating-point precision errors
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m22s

- Use formatHour() instead of raw {hour} to display time in HH:MM format
  (e.g. '15:00' instead of '14.999999999999998')
- Export formatHour from stores barrel index
- Fixes #336
This commit is contained in:
2026-06-10 10:14:16 +02:00
parent 85637e353a
commit 432378fa86
4 changed files with 5 additions and 4 deletions
+1
View File
@@ -32,6 +32,7 @@ export type { GameCoordinatorStore } from './gameStore';
export {
fmt,
fmtDec,
formatHour,
getFloorMaxHP,
getFloorElement,
getFloorElements,