Skip to content

Commit 4ea90f5

Browse files
committed
modified time diagnostics
1 parent 169054d commit 4ea90f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ int main(const int argc, char **argv) {
9696

9797
// NOTE: only used if SPDLOG_ACTIVE_LEVEL <= SPDLOG_LEVEL_INFO
9898
[[maybe_unused]] const auto config_time = std::chrono::high_resolution_clock::now();
99-
SPDLOG_INFO("EPPIC successfully configured: {}", config_time);
99+
SPDLOG_INFO("EPPIC successfully configured: {:%Y-%m-%d_%H:%M:%S}", config_time);
100100
SPDLOG_INFO("elapsed time: {:%H:%M:%S}", config_time - start_time);
101101
SPDLOG_INFO("begin EPPIC run");
102102
#endif
@@ -109,7 +109,7 @@ int main(const int argc, char **argv) {
109109
#if SPDLOG_ACTIVE_LEVEL < SPDLOG_LEVEL_OFF
110110
// NOTE: only used if SPDLOG_ACTIVE_LEVEL <= SPDLOG_LEVEL_INFO
111111
[[maybe_unused]] const auto run_time = std::chrono::high_resolution_clock::now();
112-
SPDLOG_INFO("EPPIC run successfully completed: {}", run_time);
112+
SPDLOG_INFO("EPPIC run successfully completed: {:%Y-%m-%d_%H:%M:%S}", run_time);
113113
SPDLOG_INFO("elapsed time: {:%H:%M:%S}", run_time - config_time);
114114
SPDLOG_INFO("total time: {:%H:%M:%S}", run_time - start_time);
115115
#endif

0 commit comments

Comments
 (0)