GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — duration() shows wrong days and hours past 24h · Issue #32956 · anomalyco/opencode Closed DescriptionDescription
It computes days from the sub-hour remainder ( const hours = Math.floor(input / 3600000) // total hours, never capped const days = Math.floor((input % 3600000) / 86400000) // always 0 So:
It's used to show elapsed time in the TUI session view, where a span is OpenCode versiondev (1.17.8) Steps to reproduceduration(86400000) // "0d 24h", expected "1d 0h" duration(183600000) // "0d 51h", expected "2d 3h" Activity
MetadataMetadataAssigneesLabelsNo labels TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |