mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2025-12-23 22:37:53 -05:00
Year is 2 digit in deep mode
This commit is contained in:
@@ -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}");
|
||||
|
||||
Reference in New Issue
Block a user