[Self Hosted] Search with filters including dates work with dd-mm-yyyy but not with yyyy-mm-dd

(#651) Bug Fixed search self-hosting

Summary

This only applies to a self hosted instance. When I tried searching for something with a filter that includes a date, the default date being entered is yyyy-mm-dd. This date format returns no results, but manually using the same date in the format dd-mm-yyyy works.

Steps to reproduce

  1. Go to a community
  2. Try searching after:yyyy-mm-dd
  3. No results

Environment

Stable Web 2026.616.45607, Linux (x64), Firefox 152.0, Locale en-US

Logs or screenshots

image image
  • 610871846-920d1277-aa89-40dc-9193-13bb8d4e3494.png

    610871846-920d1277-aa89-40dc-9193-13bb8d4e3494.png

    459×1217 | 23 kB

  • 610871845-018ff2f8-c0aa-4d00-a8eb-d9ec1e335118.png

    610871845-018ff2f8-c0aa-4d00-a8eb-d9ec1e335118.png

    459×1217 | 57 kB

2 comments

Sign in with Fluxer to comment and vote.
Comment by @SkippTekk
RexSystem 1 vote originally by @SkippTekk on GitHub
  • 611387629-073debfc-86e7-4264-bb79-44cf8f247fc3.png

    611387629-073debfc-86e7-4264-bb79-44cf8f247fc3.png

    432×793 | 64 kB

  • 611387628-9853f5d9-2cb8-4458-8e2d-89172da68922.png

    611387628-9853f5d9-2cb8-4458-8e2d-89172da68922.png

    427×964 | 20 kB

  • 611387630-0a74648a-389b-4343-9ef4-1b581a916457.png

    611387630-0a74648a-389b-4343-9ef4-1b581a916457.png

    513×961 | 32 kB

Comment by @kokomo123
RexSystem 1 vote originally by @kokomo123 on GitHub
image Using yyyy-mm-dd Using dd-mm-yyyy: image
  • 611388332-86cce82c-be69-48e4-ab0d-2ffb91365bf7.png

    611388332-86cce82c-be69-48e4-ab0d-2ffb91365bf7.png

    834×1548 | 66 kB

  • 611388788-63550354-2c35-4914-9483-4313c80b1691.png

    611388788-63550354-2c35-4914-9483-4313c80b1691.png

    820×626 | 119 kB