Use y instead of Y for path generation when using Deep scheme. Fixes #3583
parent
76d11f2b84
commit
d52d02c619
|
@ -112,7 +112,7 @@ class Event extends ZM_Object {
|
||||||
$event_path = '';
|
$event_path = '';
|
||||||
|
|
||||||
if ( $this->{'Scheme'} == 'Deep' ) {
|
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' ) {
|
} else if ( $this->{'Scheme'} == 'Medium' ) {
|
||||||
$event_path = $this->{'MonitorId'}.'/'.date('Y-m-d', $this->Time()).'/'.$this->{'Id'};
|
$event_path = $this->{'MonitorId'}.'/'.date('Y-m-d', $this->Time()).'/'.$this->{'Id'};
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue