Skip to content

Including any date / timestamp facet results in 0 hits. #6594

Description

@ecustic

Please confirm the following.

Describe the bug

Including date_created or created_timestamp in the facets array results in no hits.

I've tried copy-pasting exact values from actual hits for the date_created as well as <, >, <=, >= queries. I've also tried UNIX timestamps in both seconds and milliseconds for the created_timestamp and all of them result in 0 hits.

Steps to reproduce

Try any of the following queries:

GET https://api.modrinth.com/v2/search?facets=[["project_type:mod"],["categories:fabric"],["created_timestamp>1767225600"]]

GET https://api.modrinth.com/v2/search?facets=[["project_type:mod"],["categories:fabric"],["date_created>2026-01-01T00:00:00.000Z"]]

Expected behavior

Should return all Fabric mods created in 2026.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    apiRelates to the Modrinth API for developersbackendInvolves work from the backend team

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions