Add more days to view log since #2564

This commit is contained in:
Ilia Ross
2025-10-02 16:24:41 +03:00
parent 8932f3bd6a
commit 1091434ff4
2 changed files with 2 additions and 0 deletions

View File

@@ -21,6 +21,7 @@ journal_since0=Latest available
journal_since1=Real-time follow journal_since1=Real-time follow
journal_since2=Current boot journal_since2=Current boot
journal_since2-1=Last boot journal_since2-1=Last boot
journal_since30=30 days ago
journal_since3=7 days ago journal_since3=7 days ago
journal_since4=24 hours ago journal_since4=24 hours ago
journal_since5=8 hours ago journal_since5=8 hours ago

View File

@@ -36,6 +36,7 @@ return [
{ "--follow" => $text{'journal_since1'} }, { "--follow" => $text{'journal_since1'} },
{ "--boot" => $text{'journal_since2'} }, { "--boot" => $text{'journal_since2'} },
{ "--boot -1" => $text{'journal_since2-1'} }, { "--boot -1" => $text{'journal_since2-1'} },
{ "--since '30 days ago'" => $text{'journal_since30'} },
{ "--since '7 days ago'" => $text{'journal_since3'} }, { "--since '7 days ago'" => $text{'journal_since3'} },
{ "--since '24 hours ago'" => $text{'journal_since4'} }, { "--since '24 hours ago'" => $text{'journal_since4'} },
{ "--since '8 hours ago'" => $text{'journal_since5'} }, { "--since '8 hours ago'" => $text{'journal_since5'} },