mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Diag Tables Last Update
Use correct Thursday abbreviation (s/Thr/Thu/).
This commit is contained in:
parent
f5ba05cbee
commit
5ba0caa752
@ -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 . '"');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user