Skip to content

Times past an hour show as minutes (65:05 instead of 1:05:05) across the desktop app, web, Chrome extension and mobile app #3303

Closed

Description

@patrickballard

Description

Several places format a time with minutes and seconds only, so anything at or past the hour mark shows a minute count: a point 1 h 5 m 5 s in reads 65:05, and a 90-minute recording reads 90:00. Other places already show hours (the desktop export dialog's format_duration in editor_export.rs:426, and the share page's player and Transcript tab since #2655 and #3154), so the same recording reads differently from one place to the next.

Checked on main at 66893b4 and in the v0.6.1 release.

Where

where what shows code
Desktop editor, transport clock current and total time, e.g. 0:00 / 65:05 apps/desktop-gpui/src/editor_timeline.rs:476 format_time, used at editor_window.rs:10467 and :10475
Desktop editor, timeline ruler the ruler's labels past the hour, e.g. 60:00 the same format_time, used at editor_timeline.rs:1960
Desktop editor, timing cards the start and end boxes in the segment panels, and the camera 3D pose card (M:SS.s) apps/desktop-gpui/src/editor_panels.rs:6234
Web editor (/s/[id]/edit) playhead and duration readouts apps/web/app/s/[videoId]/edit/EditVideoClient.tsx:115 formatTime, :122 formatTimeDetailed
Web editor, transcript each line's timestamp apps/web/app/s/[videoId]/edit/TranscriptSidebar.tsx:64
Slack link previews "Watch this 65:05 recording on Cap" apps/web/lib/slack/unfurl.ts:42
MCP transcript card cue timestamps apps/web/lib/mcp-card-client.ts:50
Trim tool trim times apps/web/components/tools/TrimmingTool.tsx:265
Web recorder the recording timer after an hour apps/web/app/(org)/dashboard/caps/components/web-recorder-dialog/InProgressRecordingBar.tsx:46
Desktop app, recording controls the timer while recording, e.g. 65:05 apps/desktop-gpui/src/controls_window.rs:134 format_elapsed
Desktop editor, clips sidebar each clip's duration apps/desktop-gpui/src/editor_clips.rs:57 format_clip_duration
Speed tool the video's duration and the estimated output duration apps/web/components/tools/SpeedController.tsx:492
Chrome extension the recording timer on the page and in the popup, and recording durations on the options page apps/chrome-extension/src/shared/format-duration.ts:3 and :12
Mobile app chapter times on a cap's page apps/mobile/app/caps/[id].tsx:109 formatChapterTime

Reproduction

  1. Open a recording longer than an hour in the desktop editor.
  2. Read the clock under the preview, and the ruler past the hour mark.

Expected: 1:05:05, and ruler labels such as 1:00:00.

Actual: 65:05, and ruler labels such as 60:00.

Notes

Under an hour, every one of these shows M:SS (or M:SS.s), and that output can stay exactly as it is. On the web side, formatClock (apps/web/app/s/[videoId]/_components/early-playback.ts:117) already produces M:SS / H:MM:SS, though there are copies of it in timeline/timeline-format.ts and components/blog/timeline/scene.ts.

I've opened three PRs that fix all of the above between them: one for the desktop app, one for the web, and one for the Chrome extension and mobile app. They're linked below.

Activity

  1. linear commented on Oct 26, 2026

    @linear
  2. changed the title [-]Times past an hour show as minutes (`65:05` instead of `1:05:05`) in the editor and several web pages[/-] [+]Times past an hour show as minutes (`65:05` instead of `1:05:05`) across the desktop app, web, Chrome extension and mobile app[/+] on Oct 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions