[PR #354] [MERGED] Fix for #346 #1117

Closed
opened 2026-02-27 15:53:10 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/quasar/Quasar/pull/354
Author: @yankejustin
Created: 8/26/2015
Status: Merged
Merged: 8/26/2015
Merged by: @MaxXor

Base: masterHead: UptimeFix


📝 Commits (1)

📊 Changes

1 file changed (+14 additions, -4 deletions)

View changed files

📝 Client/Core/Helper/SystemHelper.cs (+14 -4)

📄 Description

This should fix issue #346 regarding incorrect uptime being returned.
Directly querying the uptime and subtracting it from the current time
(in UTC) allows us to convert it into a TimeSpan from the ticks and
obtain a significantly more accurate uptime.


🔄 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/quasar/Quasar/pull/354 **Author:** [@yankejustin](https://github.com/yankejustin) **Created:** 8/26/2015 **Status:** ✅ Merged **Merged:** 8/26/2015 **Merged by:** [@MaxXor](https://github.com/MaxXor) **Base:** `master` ← **Head:** `UptimeFix` --- ### 📝 Commits (1) - [`e85c448`](https://github.com/quasar/Quasar/commit/e85c448080be8c35dd938a7160ad7835e29fd919) Fix for #346 ### 📊 Changes **1 file changed** (+14 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `Client/Core/Helper/SystemHelper.cs` (+14 -4) </details> ### 📄 Description This should fix issue #346 regarding incorrect uptime being returned. Directly querying the uptime and subtracting it from the current time (in UTC) allows us to convert it into a TimeSpan from the ticks and obtain a significantly more accurate uptime. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 15:53:10 +03: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
starred/Quasar#1117
No description provided.