[pbs-devel] [PATCH proxmox-backup 00/10] implement dates for calendarevents
Dominik Csapak
d.csapak at proxmox.com
Thu Sep 3 13:39:50 CEST 2020
implements Dates and more special words for calendar events
and fixes some small bugs
needs my patch for the proxmox crate (tools/time: give tm struct as mut reference)
and a bump/dependency update for that
not implemented for calendarevents are Timezones, Unix Timestamps and
the ~ operator for the last days of the month
Dominik Csapak (10):
tools/systemd/time: let libc normalize time for us
tools/systemd/time: move continue out of the if/else
tools/systemd/time: convert the resulting timestamp into an option
tools/systemd/tm_editor: remove reset_time from add_days and document it
tools/systemd/parse_time: error out on invalid ranges
tools/systemd/time: fix selection for multiple options
tools/systemd/time: use i32 for DateTimeValues instead of u32
tools/systemd/tm_editor: remove conversion of the year
tools/systemd/tm_editor: add setter/getter for months/years/days
tools/systemd/time: enable dates for calendarevents
src/api2/admin/sync.rs | 3 +-
src/bin/proxmox-backup-proxy.rs | 9 +-
src/tools/systemd/parse_time.rs | 82 +++++++++++++++-
src/tools/systemd/time.rs | 144 +++++++++++++++++++++-------
src/tools/systemd/tm_editor.rs | 163 +++++++++++++-------------------
5 files changed, 258 insertions(+), 143 deletions(-)
--
2.20.1
More information about the pbs-devel
mailing list