mirror of https://github.com/digint/btrbk
btrbk: bugfix: minor bug when sorting in schedule()
parent
eab34c9d68
commit
8a53b3874c
|
@ -1,3 +1,7 @@
|
|||
btrbk-current
|
||||
|
||||
* Bugfix: fix sorting of dates in schedule().
|
||||
|
||||
btrbk-0.19.2
|
||||
|
||||
* Bugfix: fix crash when using btrfs-progs < 3.17.3 (closes: #24).
|
||||
|
|
2
btrbk
2
btrbk
|
@ -1255,7 +1255,7 @@ sub schedule(@)
|
|||
my @sorted_schedule = sort { ($a->{date}->[0] <=> $b->{date}->[0]) ||
|
||||
($a->{date}->[1] <=> $b->{date}->[1]) ||
|
||||
($a->{date}->[2] <=> $b->{date}->[2]) ||
|
||||
($a->{date_ext} <=> $a->{date_ext})
|
||||
($a->{date_ext} <=> $b->{date_ext})
|
||||
} @$schedule;
|
||||
|
||||
# first, do our calendar calculations
|
||||
|
|
Loading…
Reference in New Issue