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
@ -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…
x
Reference in New Issue
Block a user