Made MWTimestamp handle UNIX floats
authorAaron Schulz <aschulz@wikimedia.org>
Wed, 19 Aug 2015 21:23:16 +0000 (14:23 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Thu, 20 Aug 2015 07:10:11 +0000 (00:10 -0700)
commit1d4fe4abf5b59f2c16e9286ac4447987b96d12d7
treeef63340634477fc9fce39c7feee167f8b94cda95
parent8a126ee3b3db6b788aa97e2f2dc953eacf69955c
Made MWTimestamp handle UNIX floats

* This avoids "wfTimestamp() fed bogus time value" errors
  that show up in the debug log on page views, do to
  User::getTouched() usage.

Change-Id: I899d6edd2b59c02e618ed14f8d29dea53d866f05
includes/MWTimestamp.php
tests/phpunit/includes/GlobalFunctions/wfTimestampTest.php