mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 16:50:24 +00:00
Fix regex to be case insensitive for yyyy
This commit is contained in:
@@ -2051,7 +2051,7 @@ if ($fmt) {
|
||||
if ($date =~ /(m|M)/);
|
||||
$date[$-[1]] = '%d'
|
||||
if ($date =~ /(d|D)/);
|
||||
if ($date =~ /(yyyy)/) {
|
||||
if ($date =~ /(yyyy)/i) {
|
||||
$date[$-[1]] = '%Y'
|
||||
}
|
||||
elsif ($date =~ /(y|Y)/) {
|
||||
|
||||
Reference in New Issue
Block a user