diff options
author | 2022-09-26 14:21:03 +1000 | |
---|---|---|
committer | 2022-09-26 14:21:03 +1000 | |
commit | 23459ddee600a12d648ac045c39dcf35ed2bb5ca (patch) | |
tree | 60aaea8fd06ecf1af50baded391ce0b935ed0fc6 | |
parent | re-minimize selectize.js (diff) | |
download | bugzilla-Release-5.0.4-rh75.tar.gz bugzilla-Release-5.0.4-rh75.tar.bz2 bugzilla-Release-5.0.4-rh75.zip |
Bug 1145408 - The date search condition used in advanced search isn't by user's preference timezoneRelease-5.0.4-rh75
Always localize times.
Change-Id: I5d15123a12a5916587a858c00502853999bd317e
-rw-r--r-- | Bugzilla/Search.pm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm index 0ed8e2443..8a464acc8 100644 --- a/Bugzilla/Search.pm +++ b/Bugzilla/Search.pm @@ -2427,7 +2427,10 @@ sub _timestamp_translate { my $value = $args->{value}; my $dbh = Bugzilla->dbh; - return if $value !~ /^(?:[\+\-]?\d+[hdwmy]s?|now)$/i; + ## RED HAT EXTENSION START 1145408 + ## Always process times to allow timezone conversion + #return if $value !~ /^(?:[\+\-]?\d+[hdwmy]s?|now)$/i; + ## RED HAT EXTENSION END 1145408 $value = SqlifyDate($value); |