Skip to content
Snippets Groups Projects
Commit bf8f4dc7 authored by Guillaume ROUSSE's avatar Guillaume ROUSSE
Browse files

fix expiration filter

parent 323a7b20
No related branches found
No related tags found
No related merge requests found
......@@ -126,7 +126,7 @@ sub list_accounts {
}
if ($options{filter_expired}) {
push @{ $args{query} }, expiration_date => { lt => time };
push @{ $args{query} }, expiration_date => { lt => DateTime->now() };
}
my $accounts =
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment