Fix wrong date facet values

Created on 5 December 2018, over 5 years ago
Updated 11 August 2023, 11 months ago

Problem/Motivation

Currently date-based facets have wrong values, because Swiftype returns the possible date facet filter values as timestamps in milliseconds instead of timestamps in seconds.

Proposed resolution

  • Divide returned date facet filter values by 1000 during facet extraction

Remaining tasks

  • Provide a patch

User interface changes

n/a

API changes

n/a

Data model changes

n/a

Release notes snippet

n/a

πŸ› Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany hctom

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024