summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Bugzilla/Search.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm
index 841df4acc..79afa6d05 100644
--- a/Bugzilla/Search.pm
+++ b/Bugzilla/Search.pm
@@ -1904,7 +1904,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});