Remove incorrect timezone conversion from date parameters
authorBartosz Dziewoński <matma.rex@gmail.com>
Mon, 23 Jul 2018 22:35:34 +0000 (00:35 +0200)
committerBartosz Dziewoński <matma.rex@gmail.com>
Thu, 26 Jul 2018 20:13:38 +0000 (20:13 +0000)
commiteea5d3ee67725609c3964504cf82d62a01cc60bd
tree69df2bcccd39db6866414aa7f065a75ebdbc4c63
parent249e0c06e4bfc4ed4d0ffc3c768dfe4b60f9efa5
Remove incorrect timezone conversion from date parameters

This affects at least Special:Log and Special:Contributions.

The setTimezone() call does not actually change the offset used for
database lookup, because getTimestamp() returns a Unix timestamp,
which by definition does not include timezone information.

We don't actually want to do anything with timezones here. Whether
we like it or not, these date selectors have always used UTC dates.

Follow-up to I8c2cd398d7c7ac68a8f46ee94cb9e7c6beed5694.

Change-Id: Ia034017af5b37da3aa4889d5b7680c8be423126e
includes/pager/RangeChronologicalPager.php
includes/specials/SpecialLog.php