mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-10-20 05:34:12 -04:00
Fix missed StartTime to StartDateTime
This commit is contained in:
1 parent
018abe39c2
commit
d37bce4e0e
2 files changed
+4
-4
No files matched your search
@@ -89,11 +89,11 @@ class ImageComponent extends Component {
|
||||
|
||||
}
|
||||
|
||||
// Take the StartTime of an Event and return
|
||||
// Take the StartDateTime of an Event and return
|
||||
// the path to its location on the filesystem
|
||||
public function getEventPath( $event ) {
|
||||
if ( $config['ZM_USE_DEEP_STORAGE'] == 1 )
|
||||
return $event['Event']['MonitorId'].'/'.strftime( "%y/%m/%d/%H/%M/%S", strtotime($event['Event']['StartTime']) );
|
||||
return $event['Event']['MonitorId'].'/'.strftime( '%y/%m/%d/%H/%M/%S', strtotime($event['Event']['StartDateTime']) );
|
||||
else
|
||||
return $event['Event']['MonitorId'].'/'.$event['Event']['Id'];
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user