mirror of
https://github.com/fmtlib/fmt.git
synced 2025-02-06 03:40:11 +00:00
Replaced default spec with equivalent one, which is potentially more optimizable (#2537)
This commit is contained in:
parent
1e865b3539
commit
26c1ca4c3e
@ -534,9 +534,7 @@ struct formatter<std::chrono::time_point<std::chrono::system_clock, Duration>,
|
||||
return formatter<std::tm, Char>::format(time, ctx);
|
||||
}
|
||||
|
||||
static constexpr Char default_specs[] = {'%', 'Y', '-', '%', 'm', '-',
|
||||
'%', 'd', ' ', '%', 'H', ':',
|
||||
'%', 'M', ':', '%', 'S'};
|
||||
static constexpr Char default_specs[] = {'%', 'F', ' ', '%', 'T'};
|
||||
};
|
||||
|
||||
template <typename Char, typename Duration>
|
||||
|
Loading…
x
Reference in New Issue
Block a user