Conversation
Documents the `is_date_before` and `is_date_after` operators with their valid date formats (relative dates, ISO 8601 dates/datetimes) and the overflow protection for relative date values >= 10,000. Reflects changes from PostHog/posthog#49283 which added date value validation to the cohort API.
Contributor
Deploy preview
|
Contributor
|
Vale prose linter → found 0 errors, 16 warnings, 0 suggestions in your markdown Full report → Copy the linter results into an LLM to batch-fix issues. Linter being weird? Update the rules!
|
| Line | Severity | Message | Rule |
|---|---|---|---|
| 20:104 | warning | 'substring' is a possible misspelling. | PostHogBase.Spelling |
| 23:33 | warning | 'semver' is a possible misspelling. | PostHogBase.Spelling |
| 59:14 | warning | 'datetimes' is a possible misspelling. | PostHogBase.Spelling |
| 63:4 | warning | 'Semver' is a possible misspelling. | PostHogBase.Spelling |
| 65:1 | warning | 'Semver' is a possible misspelling. | PostHogBase.Spelling |
| 65:195 | warning | 'semver' is a possible misspelling. | PostHogBase.Spelling |
| 71:17 | warning | 'semver' is a possible misspelling. | PostHogBase.Spelling |
| 72:21 | warning | 'semver' is a possible misspelling. | PostHogBase.Spelling |
| 73:23 | warning | 'semver' is a possible misspelling. | PostHogBase.Spelling |
| 74:33 | warning | 'semver' is a possible misspelling. | PostHogBase.Spelling |
| 75:20 | warning | 'semver' is a possible misspelling. | PostHogBase.Spelling |
| 76:30 | warning | 'semver' is a possible misspelling. | PostHogBase.Spelling |
| 77:22 | warning | 'semver' is a possible misspelling. | PostHogBase.Spelling |
| 78:22 | warning | 'semver' is a possible misspelling. | PostHogBase.Spelling |
| 79:19 | warning | 'semver' is a possible misspelling. | PostHogBase.Spelling |
| 81:46 | warning | 'semver' is a possible misspelling. | PostHogBase.Spelling |
sarahxsanders
pushed a commit
that referenced
this pull request
Feb 27, 2026
Documents the `is_date_before` and `is_date_after` operators with their valid date formats (relative dates, ISO 8601 dates/datetimes) and the overflow protection for relative date values >= 10,000. Reflects changes from PostHog/posthog#49283 which added date value validation to the cohort API. Co-authored-by: inkeep[bot] <257615677+inkeep[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
Adds documentation for date operators (
is date before,is date after) to the property filter operators reference page.This documents the date validation behavior added in PostHog/posthog#49283.
Added content
is date beforeandis date afteroperators-7d,30d,-1w,-1m,-1y,-1h2024-01-152024-01-15T10:30:00ZNotes
is date beforeandis date afterare documented.is_date_exactis intentionally excluded as it's not yet fully supported (per PR review discussion andposthog/models/property/util.py)This PR was created by the Inkeep Content Writer agent, which is maintained by the Docs and Wizard team. Please reach out on Slack for help if needed.