summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Schumann <wurblzap@gmail.com>2012-03-31 14:56:53 +0200
committerMarc Schumann <wurblzap@gmail.com>2012-03-31 14:56:53 +0200
commitd4243a68777abb0b640e6c858c0ae64ede01f59e (patch)
treeb028293b5d6877e1f14409560d0e08064e33cf8f
parenta502cf9085f0394f91a0ae263d51a34dc8445a6b (diff)
downloadbugzilla-d4243a68777abb0b640e6c858c0ae64ede01f59e.tar.gz
bugzilla-d4243a68777abb0b640e6c858c0ae64ede01f59e.tar.xz
Search for start-of-time-interval in date fields is (partially?) broken.
r/a=LpSolit https://bugzilla.mozilla.org/show_bug.cgi?id=715270
-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});