mirror of
https://github.com/stenzek/duckstation.git
synced 2026-02-04 05:04:33 +00:00
[PR #565] [MERGED] timestamp: Correct duplicate conditionals #32
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/stenzek/duckstation/pull/565
Author: @lioncash
Created: 6/23/2020
Status: ✅ Merged
Merged: 6/23/2020
Merged by: @stenzek
Base:
master← Head:stamp📝 Commits (2)
987b11atimestamp: Implement operator!= in terms of operator==4c82705timestamp: Correct duplicate conditionals📊 Changes
1 file changed (+17 additions, -21 deletions)
View changed files
📝
src/common/timestamp.cpp(+17 -21)📄 Description
Previously, the milliseconds field wasn't being used in comparisons on Windows. Instead, the hour field was being checked against twice
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.