Missing year (in one place) when updating snr log (#341)

This commit is contained in:
Tim Wilkinson 2022-04-23 18:37:26 -07:00 committed by GitHub
parent c83cef5928
commit 0632a63853
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -190,7 +190,7 @@ function run_snrlog()
-- Write a null to the log file -- Write a null to the log file
local f, err = assert(io.open(logdatafile, "a"),"Cannot open file ("..logdatafile..") for appending!") local f, err = assert(io.open(logdatafile, "a"),"Cannot open file ("..logdatafile..") for appending!")
if f then if f then
f:write(string.format("%s,%s,%s,%s,%s,%s,%s\n", os.date("%m/%d %H:%M:%S", os.time()), 'null', nf, '0', '0', '0', '0')) f:write(string.format("%s,%s,%s,%s,%s,%s,%s\n", os.date("%m/%d/%Y %H:%M:%S", os.time()), 'null', nf, '0', '0', '0', '0'))
f:close() f:close()
nulledout[mac] = "true" nulledout[mac] = "true"
else else