From 1a33b645b762af732155b53b725cf53cfcf6ae32 Mon Sep 17 00:00:00 2001
From: Remy Prechelt <prechelt@hawaii.edu>
Date: Mon, 29 Mar 2021 23:57:23 -1000
Subject: [PATCH] Change to ISO 8601 for our time strings.

---
 corsika/detail/output/OutputManager.inl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/corsika/detail/output/OutputManager.inl b/corsika/detail/output/OutputManager.inl
index 20ed3798a..b2483a7ff 100644
--- a/corsika/detail/output/OutputManager.inl
+++ b/corsika/detail/output/OutputManager.inl
@@ -60,8 +60,8 @@ namespace corsika {
 
     // create a quick lambda function to convert a time-instance to a string
     auto timeToString = [&](auto const time) -> std::string {
-      // the format for our date string
-      auto format{"%d/%m/%Y %H:%M:%S %Z"};
+      // ISO 8601 time format
+      auto format{"%FT%T%z"};
 
       // convert the clock to a time_t
       auto time_tc{std::chrono::system_clock::to_time_t(time)};
-- 
GitLab