mirror of
https://git.proxmox.com/git/pve-common
synced 2025-05-02 14:46:15 +00:00
switch to using Proxmox::RS::CalendarEvent
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
2f85ab8fde
commit
4656d14a4b
1
debian/control
vendored
1
debian/control
vendored
@ -31,6 +31,7 @@ Depends: libclone-perl,
|
|||||||
libnet-ip-perl,
|
libnet-ip-perl,
|
||||||
libnetaddr-ip-perl,
|
libnetaddr-ip-perl,
|
||||||
libproxmox-acme-perl,
|
libproxmox-acme-perl,
|
||||||
|
libproxmox-rs-perl,
|
||||||
libstring-shellquote-perl,
|
libstring-shellquote-perl,
|
||||||
libtimedate-perl,
|
libtimedate-perl,
|
||||||
liburi-perl,
|
liburi-perl,
|
||||||
|
@ -6,7 +6,7 @@ use Data::Dumper;
|
|||||||
use Time::Local;
|
use Time::Local;
|
||||||
use PVE::JSONSchema;
|
use PVE::JSONSchema;
|
||||||
use PVE::Tools qw(trim);
|
use PVE::Tools qw(trim);
|
||||||
use PVE::RS::CalendarEvent;
|
use Proxmox::RS::CalendarEvent;
|
||||||
|
|
||||||
# Note: This class implements a parser/utils for systemd like calendar exents
|
# Note: This class implements a parser/utils for systemd like calendar exents
|
||||||
# Date specification is currently not implemented
|
# Date specification is currently not implemented
|
||||||
@ -44,7 +44,7 @@ sub parse_calendar_event {
|
|||||||
die "unable to parse calendar event - event is empty\n";
|
die "unable to parse calendar event - event is empty\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
return PVE::RS::CalendarEvent->new($event);
|
return Proxmox::RS::CalendarEvent->new($event);
|
||||||
}
|
}
|
||||||
|
|
||||||
sub compute_next_event {
|
sub compute_next_event {
|
||||||
|
Loading…
Reference in New Issue
Block a user