mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 23:13:25 +00:00
Don't show seconds for dive start time in the UI
Some divecomputers only report at minute granularity, anyway. And when diving with multiple dive computers they will never agree on the exact time. And anyway, what's the point of second granularity when it comes to the start time of a dive? Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
da07b4e5d7
commit
3766f57392
1 changed files with 1 additions and 0 deletions
|
@ -103,6 +103,7 @@ QString uiLanguage(QLocale *callerLoc)
|
|||
dateFormat.replace("'en' 'den' d:'e'", " d");
|
||||
timeFormat = loc.timeFormat();
|
||||
timeFormat.replace("(t)", "").replace(" t", "").replace("t", "").replace("hh", "h").replace("HH", "H").replace("'kl'.", "");
|
||||
timeFormat.replace(".ss", "").replace(":ss", "").replace("ss", "");
|
||||
return uiLang;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue