From c2487406d0b06d8211fb6e1bb838ab4aab86bcf2 Mon Sep 17 00:00:00 2001 From: mbridak Date: Thu, 30 Nov 2023 14:41:42 -0800 Subject: [PATCH] Add seconds to ADIF timeon tag. --- not1mm/lib/plugin_common.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/not1mm/lib/plugin_common.py b/not1mm/lib/plugin_common.py index 77424363..97c7b56b 100644 --- a/not1mm/lib/plugin_common.py +++ b/not1mm/lib/plugin_common.py @@ -36,7 +36,11 @@ def gen_adif(self, cabrillo_name: str, contest_id=""): grid = contact.get("GridSquare", "") comment = contact.get("Comment", "") loggeddate = the_date_and_time[:10] - loggedtime = the_date_and_time[11:13] + the_date_and_time[14:16] + loggedtime = ( + the_date_and_time[11:13] + + the_date_and_time[14:16] + + the_date_and_time[17:20] + ) print( f"" f"{''.join(loggeddate.split('-'))}",