[pbs-devel] [PATCH proxmox-backup 07/10] tools/systemd/time: use i32 for DateTimeValues instead of u32

Dietmar Maurer dietmar at proxmox.com
Fri Sep 4 07:39:07 CEST 2020


>  #[derive(Debug)]
>  pub enum DateTimeValue {
> -    Single(u32),
> -    Range(u32, u32),
> -    Repeated(u32, u32),
> +    Single(i32),
> +    Range(i32, i32),
> +    Repeated(i32, i32),

Even the repetition value is now signed. I cannot see why that makes sense? 
You want to repeat backwards in time?





More information about the pbs-devel mailing list