| Summary: | Use UTC offset to indicate time zone. | ||
|---|---|---|---|
| Product: | [Applications] Spectacle | Reporter: | Roke Julian Lockhart Beedell <4wy78uwh> |
| Component: | General | Assignee: | Noah Davis <noahadvs> |
| Status: | RESOLVED FIXED | ||
| Severity: | wishlist | CC: | kde |
| Priority: | NOR | Flags: | 4wy78uwh:
performance-
|
| Version First Reported In: | git-master | ||
| Target Milestone: | --- | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/graphics/spectacle/-/commit/5584097868388123da1e10a1fdca9e57d67a4aa9 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
Roke Julian Lockhart Beedell
2023-11-19 01:39:33 UTC
I think it would be good to have both, if possible. After looking at https://en.wikipedia.org/wiki/List_of_time_zone_abbreviations, they definitely are problematic though. A possibly relevant merge request was started @ https://invent.kde.org/graphics/spectacle/-/merge_requests/302 Git commit 5584097868388123da1e10a1fdca9e57d67a4aa9 by Noah Davis. Committed on 04/12/2023 at 10:19. Pushed by ndavis into branch 'master'. Support all QDateTime string formatting options as filename placeholders There are a lot of them and showing them all in the UI might be too much, so they're currently hidden features. I know adding hidden features is kind of dubious, but I don't think it'll be harmful. We can't add new translatable strings right now without asking for a string freeze exception anyway. See QDate and QTime docs: - https://doc.qt.io/qt-6/qdate.html#toString - https://doc.qt.io/qt-6/qtime.html#toString M +42 -23 src/ExportManager.cpp M +22 -3 src/ExportManager.h M +4 -0 src/Gui/SettingsDialog/ImageSaveOptionsPage.cpp M +4 -0 src/Gui/SettingsDialog/VideoSaveOptionsPage.cpp M +10 -8 tests/FilenameTest.cpp https://invent.kde.org/graphics/spectacle/-/commit/5584097868388123da1e10a1fdca9e57d67a4aa9 In 24.02, you can use `<tt>` as a placeholder for ±HHmm or `<ttt>` for ±HH:mm Git commit 0877bd1db42bcf0824847ddd5d3eb7376c74cc23 by Noah Davis. Committed on 15/01/2024 at 14:04. Pushed by ndavis into branch 'master'. Extra date/time placeholder descriptions, 12 hour <h>/<hh> Now you can see extra date/time placeholders with descriptions in the configuration dialog with the "Show More" link button. Moves "AM/PM or am/pm (localized)", "Hour (00–23)" and "Timezone offset (±0000)" to main list. Moves "Timezone (abbreviation)" to extras since timezone codes are not standardized or unique. `<h>` and `<hh>` are now always 12 hour format so that they can be meaningfully different from `<H>` and `<HH>`. Updated filename test for `<h>` and `<hh>`. M +34 -29 src/ExportManager.cpp M +6 -4 tests/FilenameTest.cpp https://invent.kde.org/graphics/spectacle/-/commit/0877bd1db42bcf0824847ddd5d3eb7376c74cc23 |