mirror of
https://github.com/fmtlib/fmt.git
synced 2025-07-30 10:47:35 +02:00
Enable more chrono tests on Windows
This commit is contained in:
@ -375,10 +375,6 @@ TEST(chrono_test, local_time) {
|
|||||||
#endif
|
#endif
|
||||||
specs.push_back("%Y-%m-%d %H:%M:%S");
|
specs.push_back("%Y-%m-%d %H:%M:%S");
|
||||||
|
|
||||||
#ifdef _WIN32
|
|
||||||
return; // Not supported on Windows.
|
|
||||||
#endif
|
|
||||||
|
|
||||||
for (const auto& spec : specs) {
|
for (const auto& spec : specs) {
|
||||||
auto tm = fmt::gmtime(time.time_since_epoch().count());
|
auto tm = fmt::gmtime(time.time_since_epoch().count());
|
||||||
auto sys_output = system_strftime(spec, &tm);
|
auto sys_output = system_strftime(spec, &tm);
|
||||||
|
Reference in New Issue
Block a user