]> git.proxmox.com Git - pve-common.git/commit
CalendarEvent: use rust implementation
authorDominik Csapak <d.csapak@proxmox.com>
Wed, 1 Dec 2021 08:55:14 +0000 (09:55 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 13 Jan 2022 13:50:47 +0000 (14:50 +0100)
commit9572e1046b7583a1377e62fa21e4183e2cc41708
tree9e7af44c6d9403d46566948bda9001a43045889b
parenta45a1df1edfca28af24b6f617ca9b8f95152280a
CalendarEvent: use rust implementation

by replacing the parsing code and 'compute_next_event' by their
PVE::RS::CalendarEvent equivalent

adapt the tests, since we do not have access to the internal structure
(and even if we had, it would be different) and the error messages
are different

the 'compute_next_event' and parsing tests still pass though

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
src/PVE/CalendarEvent.pm
test/calendar_event_test.pl