mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 09:10:06 +00:00
use sys_seconds instead of sys_tim
This commit is contained in:
parent
8d7d29bf5e
commit
a87cb01935
1 changed files with 1 additions and 1 deletions
|
|
@ -146,7 +146,7 @@ std::chrono::system_clock::time_point AnimationDockWidgetImpl::GetTimePoint()
|
||||||
selectedDate_ + selectedTime_;
|
selectedDate_ + selectedTime_;
|
||||||
const auto zonedTime =
|
const auto zonedTime =
|
||||||
zoned_time<std::chrono::seconds>(timeZone_, localTime);
|
zoned_time<std::chrono::seconds>(timeZone_, localTime);
|
||||||
const std::chrono::sys_time systemTime = zonedTime.get_sys_time();
|
const std::chrono::sys_seconds systemTime = zonedTime.get_sys_time();
|
||||||
|
|
||||||
// This is done to update it when the date changes
|
// This is done to update it when the date changes
|
||||||
UpdateTimeZoneLabel(zonedTime);
|
UpdateTimeZoneLabel(zonedTime);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue