diff options
author | 2012-03-31 15:00:16 +0200 | |
---|---|---|
committer | 2012-03-31 15:00:16 +0200 | |
commit | 843a508c64afc49e143976752a48ac1f2ae64b01 (patch) | |
tree | 0104533aa355ded281316ae9c4105bdb3b475766 /Bugzilla/Search.pm | |
parent | Bug 690879 - Webservice Bug.fields should include include keyword name and de... (diff) | |
download | bugzilla-843a508c64afc49e143976752a48ac1f2ae64b01.tar.gz bugzilla-843a508c64afc49e143976752a48ac1f2ae64b01.tar.bz2 bugzilla-843a508c64afc49e143976752a48ac1f2ae64b01.zip |
Search for start-of-time-interval in date fields is (partially?) broken.
r/a=LpSolit
https://bugzilla.mozilla.org/show_bug.cgi?id=715270
Diffstat (limited to 'Bugzilla/Search.pm')
-rw-r--r-- | Bugzilla/Search.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm index c14dbf32e..7bf7e69f6 100644 --- a/Bugzilla/Search.pm +++ b/Bugzilla/Search.pm @@ -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}); |