Page MenuHomePhabricator

Correct an issue with epoch timestamps in Conduit
ClosedPublic

Authored by epriestley on Jul 26 2016, 2:07 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 19, 6:02 AM
Unknown Object (File)
Thu, Dec 19, 2:51 AM
Unknown Object (File)
Sat, Dec 14, 4:50 PM
Unknown Object (File)
Thu, Dec 12, 6:44 AM
Unknown Object (File)
Mon, Dec 2, 6:29 PM
Unknown Object (File)
Wed, Nov 27, 8:01 PM
Unknown Object (File)
Mon, Nov 25, 1:45 AM
Unknown Object (File)
Sun, Nov 24, 11:48 AM
Subscribers
None

Details

Summary

Fixes T11375. Some validation code was mishandling raw epoch timestamps.

For numeric values larger than 29999999 (e.g., 2999-12-25, christmas 2999), assume the value is a timestamp.

Test Plan

Used maniphest.search to query for modifiedStart, got a better result set and saw the dateModified constraint in the query.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Correct an issue with epoch timestamps in Conduit.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
This revision is now accepted and ready to land.Jul 26 2016, 3:45 PM
This revision was automatically updated to reflect the committed changes.