diff --git a/sources/backend/caldav/config.php b/sources/backend/caldav/config.php index 1257443..7c5c9fa 100644 --- a/sources/backend/caldav/config.php +++ b/sources/backend/caldav/config.php @@ -6,7 +6,9 @@ * * Created : 27.11.2012 * -* Copyright 2007 - 2013 Zarafa Deutschland GmbH +* Copyright 2012 - 2014 Jean-Louis Dupond +* +* Jean-Louis Dupond released this code as AGPLv3 here: https://github.com/dupondje/PHP-Push-2/issues/93 * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, diff --git a/sources/backend/carddav/carddav.php b/sources/backend/carddav/carddav.php index 53144e7..21ad6ba 100644 --- a/sources/backend/carddav/carddav.php +++ b/sources/backend/carddav/carddav.php @@ -6,7 +6,7 @@ * * Created : 16.03.2013 * -* Copyright 2007 - 2013 Zarafa Deutschland GmbH +* Copyright 2013 - 2016 Francisco Miguel Biete * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, diff --git a/sources/backend/carddav/config.php b/sources/backend/carddav/config.php index 2d24cc3..b82b5c9 100644 --- a/sources/backend/carddav/config.php +++ b/sources/backend/carddav/config.php @@ -6,7 +6,7 @@ * * Created : 16.03.2013 * -* Copyright 2007 - 2013 Zarafa Deutschland GmbH +* Copyright 2013 - 2016 Francisco Miguel Biete * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, diff --git a/sources/backend/imap/imap.php b/sources/backend/imap/imap.php index a3afb12..3c1b7ad 100644 --- a/sources/backend/imap/imap.php +++ b/sources/backend/imap/imap.php @@ -1981,8 +1981,8 @@ class BackendIMAP extends BackendDiff implements ISearchProvider { */ private function getSearchRestriction($cpo) { $searchText = $cpo->GetSearchFreeText(); - $searchGreater = $cpo->GetSearchValueGreater(); - $searchLess = $cpo->GetSearchValueLess(); + $searchGreater = strftime("%Y-%m-%d", strtotime($cpo->GetSearchValueGreater())); + $searchLess = strftime("%Y-%m-%d", strtotime($cpo->GetSearchValueLess())); $filter = ''; if ($searchGreater != '') { diff --git a/sources/backend/ldap/config.php b/sources/backend/ldap/config.php index 02db4a5..60bbda6 100644 --- a/sources/backend/ldap/config.php +++ b/sources/backend/ldap/config.php @@ -6,7 +6,7 @@ * * Created : 27.11.2012 * -* Copyright 2007 - 2012 Zarafa Deutschland GmbH +* Copyright 2007 - 2015 Zarafa Deutschland GmbH * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3,