-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Reimplement #1652 - switchable time formats #1985
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
9c658a0
Implement switchable duration format
poelzi 66fc9d1
Cleanup and Hectoseconds
poelzi f987e3d
add simple second display.
poelzi f6f2a78
fixup tests. Try some unrelated character as seperator in hectoseconds.
poelzi b8b0076
Merge remote-tracking branch 'origin/master' into feature/seconds
poelzi c77bd6a
Merge commit 'f325270ee31bcdad96e1f206637f059ad72e6b01' into seconds
daschuer 22a2b4c
Implement switchable time format for decks by @poelzi - #1652
benis a87dc95
Comment to identify separator characters
benis 5f1196c
Fix issues identified by CodeFactor
benis 5dc62e6
Replace if with VERIFY_OR_DEBUG_ASSERT in src/util/duration.cpp
benis 7685e0a
reintroduce the lost "?" for negative durations
daschuer 3efd74d
Add 'Traditional (Coarse)' time format option
benis c0d3cae
Minor formatting corrections to duration.cpp
benis 5fe1f0f
Re-format dlgprefdeck.cpp:120 onwards to make more readable
benis 341242a
Remove 'hh:' from descrptions in time format drop-down in Deck Prefer…
benis f27e92d
Clean up deck time formatting logic
benis 66c48cd
Fix entries in deck time prefs drop-down
benis d356226
Amend durationutiltest.cpp following previous 2 commits
benis 407164a
Merge remote-tracking branch 'upstream/master' into hectoseconds
daschuer 9977df3
Refactor DisplayMode enum for consistency
benis 5ba36de
Return const QString for invalid duration value
benis 19cf23d
Merge pull request #38 from benis/hectoseconds2
daschuer 5d357b2
make time formats more like SI
daschuer 43aeb9e
Replace hectoseconds format by seconds long. Hectosends fromat was to…
daschuer File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do DisplayMode and DisplayFormat use inconsistent naming conventions for their enum literals?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good question. You're referring to the fact that one is in Sentence Case and the other in SNAKE_CASE, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Of course, it's obvious ;)