[*] Localized timescale looked ugly

This commit is contained in:
Reece Wilson 2022-03-31 04:34:02 +01:00
parent 9f9f86f174
commit e9ad89beea

View File

@ -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<AuUInt64>(1000));
return ConvertMSToTimescale(AuNSToMS<AuUInt64>(ns));
}
}
catch (...)