Mercurial > dovecot > core-2.2
changeset 21066:b9a20a0cb54a
lib-storage: Reverse MAIL_SEARCH_ARG_FLAG_USE_TZ handling again.
It wasn't really wrong, it was just confusing. And doveadm's tz-handling
was wrong.
Reverses 059e4ac419224598349704b74cb9f6b49278df46
author | Timo Sirainen <timo.sirainen@dovecot.fi> |
---|---|
date | Fri, 04 Nov 2016 12:03:47 +0200 |
parents | c9e3fa79bbad |
children | 73bf7db5f801 |
files | src/lib-storage/index/index-search.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-storage/index/index-search.c Thu Nov 03 19:16:49 2016 +0200 +++ b/src/lib-storage/index/index-search.c Fri Nov 04 12:03:47 2016 +0200 @@ -323,7 +323,7 @@ } if ((arg->value.search_flags & - MAIL_SEARCH_ARG_FLAG_USE_TZ) != 0) { + MAIL_SEARCH_ARG_FLAG_USE_TZ) == 0) { if (!have_tz_offset) { tm = localtime(&date); tz_offset = utc_offset(tm, date);