From e9ad89beead404f843663fc60cd0fc4e76334571 Mon Sep 17 00:00:00 2001 From: Reece Date: Thu, 31 Mar 2022 04:34:02 +0100 Subject: [PATCH] [*] Localized timescale looked ugly --- Source/Locale/LocaleStrings.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Locale/LocaleStrings.cpp b/Source/Locale/LocaleStrings.cpp index 7010b6b6..92ce2f44 100644 --- a/Source/Locale/LocaleStrings.cpp +++ b/Source/Locale/LocaleStrings.cpp @@ -113,7 +113,7 @@ namespace Aurora::Locale { auto s = msDiv1000; auto remMs = ms % 1000; - return _TextPrepadZeroIfOne(AuToString(s)) + NumbericLocaleGetDecimal() + _TextPrepadZeroMS(AuToString(remMs)) + TimeLocaleGetSChar(); + return AuToString(s) + NumbericLocaleGetDecimal() + _TextPrepadZeroMS(AuToString(remMs)) + TimeLocaleGetSChar(); } else if (ms < (1000 * 60 * 60)) { @@ -157,7 +157,7 @@ namespace Aurora::Locale } else { - return ConvertMSToTimescale(AuNSToMS(1000)); + return ConvertMSToTimescale(AuNSToMS(ns)); } } catch (...)