[*] ConvertMSToTimescale: refactor arg to u64

This commit is contained in:
Reece Wilson 2023-05-12 17:49:34 +01:00
parent e2f16091d9
commit 323296aa78
2 changed files with 2 additions and 2 deletions

View File

@ -24,6 +24,6 @@ namespace Aurora::Locale
AUKN_SYM AuString TimeDateToFileNameISO8601(const Time::tm &time, Time::ETimezoneShift shift = Time::ETimezoneShift::eUTC);
AUKN_SYM AuString TimeDateToISO8601(const Time::tm &time, Time::ETimezoneShift shift = Time::ETimezoneShift::eUTC);
AUKN_SYM AuString ConvertMSToTimescale(AuUInt32 ms);
AUKN_SYM AuString ConvertMSToTimescale(AuUInt64 ms);
AUKN_SYM AuString ConvertNSToTimescale(AuUInt64 ns);
}

View File

@ -82,7 +82,7 @@ namespace Aurora::Locale
return ret;
}
AUKN_SYM AuString ConvertMSToTimescale(AuUInt32 ms)
AUKN_SYM AuString ConvertMSToTimescale(AuUInt64 ms)
{
const auto msDiv1000 = ms / 1000; // seconds
const auto msDiv1000Mod60 = msDiv1000 % 60; // remaining seconds relative to next whole minute