From 9da6a2e424c742e7d6e8d63b99d5cf2848ee2b21 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Thu, 6 Nov 2025 21:26:08 -0500 Subject: [PATCH] Year is 2 digit in deep mode --- scripts/ZoneMinder/lib/ZoneMinder/Event.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ZoneMinder/lib/ZoneMinder/Event.pm b/scripts/ZoneMinder/lib/ZoneMinder/Event.pm index 1d94841f6..b1b5ec50f 100644 --- a/scripts/ZoneMinder/lib/ZoneMinder/Event.pm +++ b/scripts/ZoneMinder/lib/ZoneMinder/Event.pm @@ -222,7 +222,7 @@ sub LinkPath { '.'.$$event{Id} ); } elsif ( $$event{Path} ) { - if ( ( $event->RelativePath() =~ /^(\d+\/\d{4}\/\d{2}\/\d{2})/ ) ) { + if ( ( $event->RelativePath() =~ /^(\d+\/\d{2}\/\d{2}\/\d{2})/ ) ) { $$event{LinkPath} = $1.'/.'.$$event{Id}; } else { Error("Unable to get LinkPath from Path for $$event{Id} $$event{Path}");