mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 01:30:05 +00:00
Display clock format defined in settings on map
This commit is contained in:
parent
a7cb459e20
commit
5fb9dc6a5f
4 changed files with 55 additions and 9 deletions
|
|
@ -38,8 +38,9 @@ std::chrono::system_clock::time_point TimePoint(uint32_t modifiedJulianDate,
|
|||
uint32_t milliseconds);
|
||||
|
||||
std::string TimeString(std::chrono::system_clock::time_point time,
|
||||
const time_zone* timeZone = nullptr,
|
||||
bool epochValid = true);
|
||||
ClockFormat clockFormat = ClockFormat::_24Hour,
|
||||
const time_zone* timeZone = nullptr,
|
||||
bool epochValid = true);
|
||||
|
||||
template<typename T>
|
||||
std::optional<std::chrono::sys_time<T>>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue