[*] ConvertMSToTimescale: refactor arg to u64
This commit is contained in:
parent
e2f16091d9
commit
323296aa78
@ -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);
|
||||
}
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user