From 3766f57392bc8e315afe14b7640982e50cdd5529 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 16 Aug 2014 15:56:38 -0600 Subject: 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 --- qt-gui.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/qt-gui.cpp b/qt-gui.cpp index bb3001ff4..a7362d5f0 100644 --- a/qt-gui.cpp +++ b/qt-gui.cpp @@ -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; } -- cgit v1.2.3-70-g09d2