From 5ba0caa7524ad39a99dcecb13f77175dced2f082 Mon Sep 17 00:00:00 2001 From: NOYB Date: Thu, 30 Jun 2016 14:58:21 -0700 Subject: Diag Tables Last Update Use correct Thursday abbreviation (s/Thr/Thu/). --- src/usr/local/www/diag_tables.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/usr/local/www/diag_tables.php b/src/usr/local/www/diag_tables.php index cf0f956..9433363 100644 --- a/src/usr/local/www/diag_tables.php +++ b/src/usr/local/www/diag_tables.php @@ -208,7 +208,7 @@ if ($bogons || $urltable || !empty($entries)) { $table_file = ''; } - $datestrregex = '(Mon|Tue|Wed|Thr|Fri|Sat|Sun).* GMT'; + $datestrregex = '(Mon|Tue|Wed|Thu|Fri|Sat|Sun).* GMT'; $datelineregex = 'last.*' . $datestrregex; $last_updated = exec('/usr/bin/grep -i -m 1 -E "^# ' . $datelineregex . '" ' . $table_file . '|/usr/bin/grep -i -m 1 -E -o "' . $datestrregex . '"'); -- cgit v1.1