[GH-ISSUE #295] Wrong speed units displayed in progress #155

Closed
opened 2026-04-08 16:50:43 +03:00 by zhus · 0 comments
Owner

Originally created by @diggit on GitHub (Nov 25, 2023).
Original GitHub issue: https://github.com/sigoden/dufs/issues/295

Problem

In progress info, speed of 8 MB/s is displayed as 8mb/s.
There are 2 things wrong:

  1. instead of showing Mega Bytes per second, it's showing milli bits per second (but the value is in MB/s)
  2. missing space between value and unit (e.g.: https://physics.nist.gov/cuu/Units/checklist.html # 15)

relevant line here

Environment:

  • Dufs version: "v0.37.1"
  • Browser/Webdav Info: Firefox Developer edition 120.0b9 (64-bit)
  • OS Info: Archlinux, up to date
Originally created by @diggit on GitHub (Nov 25, 2023). Original GitHub issue: https://github.com/sigoden/dufs/issues/295 **Problem** In progress info, speed of `8 MB/s` is displayed as `8mb/s`. There are 2 things wrong: 1. instead of showing Mega Bytes per second, it's showing milli bits per second (but the value is in MB/s) 2. missing space between value and unit (e.g.: https://physics.nist.gov/cuu/Units/checklist.html # 15) [relevant line here](https://github.com/sigoden/dufs/blob/130435c3870b8c7334f360303f6d60f6f531a2cc/assets/index.js#L186) **Environment:** - Dufs version: "v0.37.1" - Browser/Webdav Info: Firefox Developer edition 120.0b9 (64-bit) - OS Info: Archlinux, up to date
zhus closed this issue 2026-04-08 16:50:43 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sigoden/dufs#155