From 87fe668bbb765f427c8f8c5adc6a3b649f261944 Mon Sep 17 00:00:00 2001 From: Trevor Stone Date: Thu, 7 Jul 2022 14:09:30 -0700 Subject: [PATCH] Use %H for 24-hour time `%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. --- lib/ruby-pota-csv-to-adif.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ruby-pota-csv-to-adif.rb b/lib/ruby-pota-csv-to-adif.rb index f455f0c..eaa3ab3 100644 --- a/lib/ruby-pota-csv-to-adif.rb +++ b/lib/ruby-pota-csv-to-adif.rb @@ -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')} 3.1.0 ruby-pota-csv-to-adif 0.3