diff options
-rwxr-xr-x | modules/mga-mirrors/files/check_mirrors_status | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/mga-mirrors/files/check_mirrors_status b/modules/mga-mirrors/files/check_mirrors_status index 5ee30c1a..2d5fc7d4 100755 --- a/modules/mga-mirrors/files/check_mirrors_status +++ b/modules/mga-mirrors/files/check_mirrors_status @@ -140,7 +140,7 @@ def format_age(ref_time, time) end def print_output(archs_per_distro, mirrors, ref_times, times) - puts "<html><head><title>Mageia Mirror Status #{Time.now.strftime("%F")}</title> + puts "<html><head><title>Mageia Mirror Status #{Time.now.utc.strftime("%F")}</title> <link rel=\"icon\" type=\"image/png\" href=\"//www.mageia.org/g/favicon.png\"> <style> td.broken {background-color:#FF0033;} @@ -158,7 +158,7 @@ th {background-color:#EEEEEE;} </style> </head> <body>" - puts "Last checked on #{Time.now.strftime("%F %R %Z")}<br/>" + puts "Last checked on #{Time.now.utc.strftime("%F %R %Z")}<br/>" puts "<table class='legend'><tr><td class='ok'>Up to date</td><td class='almost'>Less than 12h old</td><td class='bad'>Less than 2 days old</td><td class='broken'>Old or broken</td></tr></table>" puts "<table><thead>" puts "<tr><td/>" |