astyle applied

This commit is contained in:
Daniel Chabrowski
2018-02-25 12:41:18 +01:00
parent 5355bd3a8f
commit de642b6263
5 changed files with 21 additions and 18 deletions

View File

@@ -648,7 +648,8 @@ inline void spdlog::pattern_formatter::handle_flag(char flag)
inline std::tm spdlog::pattern_formatter::get_time(details::log_msg& msg)
{
if (_pattern_time == pattern_time_type::local) {
if (_pattern_time == pattern_time_type::local)
{
return details::os::localtime(log_clock::to_time_t(msg.time));
}
return details::os::gmtime(log_clock::to_time_t(msg.time));