Skip to content

Commit

Permalink
Add seconds to ADIF timeon tag.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbridak committed Nov 30, 2023
1 parent 9be9a04 commit c248740
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion not1mm/lib/plugin_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"<QSO_DATE:{len(''.join(loggeddate.split('-')))}:d>"
f"{''.join(loggeddate.split('-'))}",
Expand Down

0 comments on commit c248740

Please sign in to comment.