proxmox-backup/src/tools/systemd
Dominik Csapak c931c87173 tools/systemd/time: let libc normalize time for us
mktime/gmtime can normalize time and even can handle special timezone
cases like the fact that the time 2:30 on specific day/timezone combos
do not exists

we have to convert the signature of all functions that use
normalize_time since mktime/gmtime can return an EOVERFLOW
but if this happens there is no way we can find a good time anyway

since normalize_time will always set wday according to the rest of the
time, remove set_wday

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-09-04 15:26:40 +02:00
..
config.rs add api to format disks and create datastores 2020-06-10 11:03:36 +02:00
parse_time.rs parse_calendar_event: support the weekly special expression 2020-07-21 13:24:51 +02:00
time.rs tools/systemd/time: let libc normalize time for us 2020-09-04 15:26:40 +02:00
tm_editor.rs tools/systemd/time: let libc normalize time for us 2020-09-04 15:26:40 +02:00
types.rs src/tools/systemd/types.rs: add Mount config 2020-06-09 18:47:10 +02:00