Use y instead of Y for path generation when using Deep scheme. Fixes #3583

add_janus_rtsp_user
Isaac Connor 2022-09-04 13:53:19 -04:00
parent d6fea1c740
commit b611a4fc08
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ class Event extends ZM_Object {
$event_path = '';
if ( $this->{'Scheme'} == 'Deep' ) {
$event_path = $this->{'MonitorId'}.'/'.date('Y/m/d/H/i/s', $this->Time());
$event_path = $this->{'MonitorId'}.'/'.date('y/m/d/H/i/s', $this->Time());
} else if ( $this->{'Scheme'} == 'Medium' ) {
$event_path = $this->{'MonitorId'}.'/'.date('Y-m-d', $this->Time()).'/'.$this->{'Id'};
} else {