Skip to content

Commit

Permalink
Use %H for 24-hour time
Browse files Browse the repository at this point in the history
`%I` is used for 12-hour time, but `%p` wasn't in the format string, so running the program in the afternoon (UTC) gave surprising results.  24-hour time is probably clearer in this context.
  • Loading branch information
flwyd authored and ecopony committed Aug 12, 2022
1 parent 754d82a commit 87fe668
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ruby-pota-csv-to-adif.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def header
ADIF Export from ruby-pota-csv-to-adif v[0.3]
https://github.com/ecopony/ruby-pota-csv-to-adif
Copyright (C) 2021-2022 Edward Copony
File generated on #{Time.now.getutc.strftime('%d %b, %Y at %I:%M')}
File generated on #{Time.now.getutc.strftime('%d %b, %Y at %H:%M')}
<ADIF_VER:5>3.1.0
<PROGRAMID:21>ruby-pota-csv-to-adif
<PROGRAMVERSION:3>0.3
Expand Down

0 comments on commit 87fe668

Please sign in to comment.