SEARCH uses TWiki::Time::parseInterval to convert the date parameter into a range, which is expressed in GMT.
To determine the file revision time, SEARCH calls $store->getTopicLatestRevTime, which then calls $handler->getLatestRevisionTime, which in the case of RcsFile
, calls stat() and returns the time.
However, the latter is in the system TZ, not GMT, so the comparison is flawed.
No. All times are represented internally as seconds since midnight 1st Jan 1970 UTC (also known as "the epoch")
Timezones only have an effect when converting to printable representations of dates.