diff options
author | onefang | 2019-12-01 02:41:36 +1000 |
---|---|---|
committer | onefang | 2019-12-01 02:41:36 +1000 |
commit | 5520b6a76b1f4042c7599404d13a0ff7de0725cd (patch) | |
tree | 796b372052e4ca414f3e7a52249e5afaaac8c1a9 | |
parent | Change time format for reports, and add time to email. (diff) | |
download | apt-panopticon-5520b6a76b1f4042c7599404d13a0ff7de0725cd.zip apt-panopticon-5520b6a76b1f4042c7599404d13a0ff7de0725cd.tar.gz apt-panopticon-5520b6a76b1f4042c7599404d13a0ff7de0725cd.tar.bz2 apt-panopticon-5520b6a76b1f4042c7599404d13a0ff7de0725cd.tar.xz |
Add the timezone.
Diffstat (limited to '')
-rwxr-xr-x | apt-panopticon-report-email.lua | 2 | ||||
-rwxr-xr-x | apt-panopticon-report-web.lua | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apt-panopticon-report-email.lua b/apt-panopticon-report-email.lua index 72fb332..c102b81 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 " .. os.date("!%Y-%m-%d %H:%M") .. " ----\n") | 223 | "---- BEGIN MIRROR-STATUS " .. os.date("!%Y-%m-%d %H:%M") .. " GMT ----\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") |
diff --git a/apt-panopticon-report-web.lua b/apt-panopticon-report-web.lua index 94fbecf..93aa70b 100755 --- a/apt-panopticon-report-web.lua +++ b/apt-panopticon-report-web.lua | |||
@@ -250,7 +250,7 @@ if nil == file then C("opening mirrors file - " .. e) else | |||
250 | file:write( "<html><head><title>apt-panopticon results</title>\n" .. | 250 | file:write( "<html><head><title>apt-panopticon results</title>\n" .. |
251 | '</head><body bgcolor="black" text="white" alink="red" link="blue" vlink="purple">' .. | 251 | '</head><body bgcolor="black" text="white" alink="red" link="blue" vlink="purple">' .. |
252 | "<h1>Welcome to the apt-opticon results page.</h1>\n" .. | 252 | "<h1>Welcome to the apt-opticon results page.</h1>\n" .. |
253 | "<p>Check time: " .. os.date("!%Y-%m-%d %H:%M") .. "</p>\n" .. | 253 | "<p>Check time: " .. os.date("!%Y-%m-%d %H:%M") .. " GMT</p>\n" .. |
254 | "<p>The full list of Devuan package mirrors is available at the URL: " .. | 254 | "<p>The full list of Devuan package mirrors is available at the URL: " .. |
255 | "<a href='https://pkgmaster.devuan.org/mirror_list.txt'>https://pkgmaster.devuan.org/mirror_list.txt</a></p>\n" .. | 255 | "<a href='https://pkgmaster.devuan.org/mirror_list.txt'>https://pkgmaster.devuan.org/mirror_list.txt</a></p>\n" .. |
256 | "<p>Due to the nature of the tests, some errors or warnings will be counted several times. " .. | 256 | "<p>Due to the nature of the tests, some errors or warnings will be counted several times. " .. |