• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

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.

Discarded.

CC

ItemTemplate
Summary SEARCH date parameter is converted to GMT, but comparison file time is in local TZ
ReportedBy TWiki:Main.DiabJerius
Codebase 4.0.4
SVN Range TWiki-4.1, Sat, 23 Sep 2006, build 11571
AppliesTo Engine
Component

Priority Normal
CurrentState No Action Required
WaitingFor

Checkins

TargetRelease n/a
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r3 - 2006-10-10 - CrawfordCurrie
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback