[PR #7] [MERGED] more accurate elapsed/duration #1119

Closed
opened 2026-05-23 01:58:29 +01:00 by JakeStanger · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/JakeStanger/mpd-discord-rpc/pull/7
Author: @Phate6660
Created: 8/7/2020
Status: Merged
Merged: 8/13/2020
Merged by: @JakeStanger

Base: masterHead: patch-1


📝 Commits (2)

  • 1ed3c6a more accurate elapsed/duration
  • 72a0db1 oops, the :0>2 was necessary

📊 Changes

1 file changed (+3 additions, -3 deletions)

View changed files

📝 src/mpd_conn.rs (+3 -3)

📄 Description

I noticed that the elapsed/duration is more often than not a bit off. I assume due to the rounding?
I have found that this is accurate from what I can tell. Just thought I'd share this.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/JakeStanger/mpd-discord-rpc/pull/7 **Author:** [@Phate6660](https://github.com/Phate6660) **Created:** 8/7/2020 **Status:** ✅ Merged **Merged:** 8/13/2020 **Merged by:** [@JakeStanger](https://github.com/JakeStanger) **Base:** `master` ← **Head:** `patch-1` --- ### 📝 Commits (2) - [`1ed3c6a`](https://github.com/JakeStanger/mpd-discord-rpc/commit/1ed3c6a5a546dfc62242d030f27eae9ff66043be) more accurate elapsed/duration - [`72a0db1`](https://github.com/JakeStanger/mpd-discord-rpc/commit/72a0db1172bf5a5b078772b97edab7a5acaa62eb) oops, the `:0>2 ` was necessary ### 📊 Changes **1 file changed** (+3 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `src/mpd_conn.rs` (+3 -3) </details> ### 📄 Description I noticed that the elapsed/duration is more often than not a bit off. I assume due to the rounding? I have found that this is accurate from what I can tell. Just thought I'd share this. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
JakeStanger 2026-05-23 01:58:29 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
JakeStanger/mpd-discord-rpc#1119
No description provided.