<chrono>: Optimize to_sys and to_local
#3579
Merged
<chrono>: Optimize to_sys and to_local
#3579