|
|
|
@ -103,7 +103,7 @@ sub print_user_table { |
|
|
|
|
day => $3 |
|
|
|
|
); |
|
|
|
|
}; |
|
|
|
|
$days_left = ($lock_on - $now)->in_units('days') if ($lock_on); |
|
|
|
|
$days_left = $lock_on->delta_days($now)->in_units('days') if ($lock_on); |
|
|
|
|
} |
|
|
|
|
my $addr = ($delivery eq 'local') ? '' : $fwd; |
|
|
|
|
print $q->Tr( |
|
|
|
@ -146,7 +146,7 @@ sub print_user_table { |
|
|
|
|
}; |
|
|
|
|
if ($locked_date){ |
|
|
|
|
my $delete_on = $locked_date->add(days => $delete_in); |
|
|
|
|
$days_left = ($delete_on - $now)->in_units('days'); |
|
|
|
|
$days_left = $delete_on->delta_days($now)->in_units('days'); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
my $addr = ($delivery eq 'local') ? '' : $fwd; |
|
|
|
|