diff options
author | onefang | 2019-12-01 01:41:38 +1000 |
---|---|---|
committer | onefang | 2019-12-01 01:41:38 +1000 |
commit | 2f4fad41d2b264d34e7e1cbd68817ee9acc1bef2 (patch) | |
tree | 7b33b0312c0b4db210fab8263c5dff1bf7602fc6 /apt-panopticon-report-email.lua | |
parent | Much work on the Updated tests. (diff) | |
download | apt-panopticon-2f4fad41d2b264d34e7e1cbd68817ee9acc1bef2.zip apt-panopticon-2f4fad41d2b264d34e7e1cbd68817ee9acc1bef2.tar.gz apt-panopticon-2f4fad41d2b264d34e7e1cbd68817ee9acc1bef2.tar.bz2 apt-panopticon-2f4fad41d2b264d34e7e1cbd68817ee9acc1bef2.tar.xz |
Change time format for reports, and add time to email.
Diffstat (limited to '')
-rwxr-xr-x | apt-panopticon-report-email.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-panopticon-report-email.lua b/apt-panopticon-report-email.lua index eb2a0a7..72fb332 100755 --- a/apt-panopticon-report-email.lua +++ b/apt-panopticon-report-email.lua | |||
@@ -220,7 +220,7 @@ if nil == file then C("opening mirrors file - " .. e) else | |||
220 | "Due to the nature of the tests, some errors or warnings will be \ncounted several times. " .. | 220 | "Due to the nature of the tests, some errors or warnings will be \ncounted several times. " .. |
221 | "Refer to the logs on the web page for details.\n\n" .. | 221 | "Refer to the logs on the web page for details.\n\n" .. |
222 | "Please see below the current status of the Devuan Package Mirror \nnetwork:\n\n" .. | 222 | "Please see below the current status of the Devuan Package Mirror \nnetwork:\n\n" .. |
223 | "---- BEGIN MIRROR-STATUS ----\n") | 223 | "---- BEGIN MIRROR-STATUS " .. os.date("!%Y-%m-%d %H:%M") .. " ----\n") |
224 | for k, v in orderedPairs(mirrors) do | 224 | for k, v in orderedPairs(mirrors) do |
225 | local results = loadfile("results/" .. k .. ".lua")() | 225 | local results = loadfile("results/" .. k .. ".lua")() |
226 | file:write(k .. "....\n") | 226 | file:write(k .. "....\n") |