File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -585,11 +585,13 @@ inline auto localtime(std::chrono::local_time<Duration> time) -> std::tm {
585
585
using namespace std ::chrono;
586
586
using namespace fmt_detail ;
587
587
588
- #if FMT_USE_EARLIEST_TIME
589
- return localtime (detail::to_time_t (current_zone ()->to_sys <Duration>(time, std::chrono::choose::earliest)));
590
- #else
591
- return localtime (detail::to_time_t (current_zone ()->to_sys <Duration>(time, std::chrono::choose::latest)));
592
- #endif
588
+ # if FMT_USE_EARLIEST_TIME
589
+ return localtime (detail::to_time_t (
590
+ current_zone ()->to_sys <Duration>(time, std::chrono::choose::earliest)));
591
+ # else
592
+ return localtime (detail::to_time_t (
593
+ current_zone ()->to_sys <Duration>(time, std::chrono::choose::latest)));
594
+ # endif
593
595
}
594
596
#endif
595
597
You can’t perform that action at this time.
0 commit comments