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)
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
Unknown Object (File)
Nov 17 2024, 7:36 PM
Unknown Object (File)
Nov 13 2024, 10:10 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
Branch
search1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 13130
Build 16798: Run Core Tests
Build 16797: arc lint + arc unit

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.