Commit 843a508c authored by Marc Schumann's avatar Marc Schumann

Search for start-of-time-interval in date fields is (partially?) broken.

parent 08f04597
......@@ -1916,7 +1916,7 @@ sub _timestamp_translate {
my $value = $args->{value};
my $dbh = Bugzilla->dbh;
return if $value !~ /^[\+\-]?\d+[hdwmy]$/i;
return if $value !~ /^[\+\-]?\d+[hdwmy]s?$/i;
$args->{value} = SqlifyDate($value);
$args->{quoted} = $dbh->quote($args->{value});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment