Searching dates using native search box in views

Hi Everyone,

I am trying to search dates in a column where its type is date and locale is Turkey (dd/mm/yyyy) using the native search box. I figured out that I can only search the dates if I enter the date I am searching in mm/dd/yyyy format. Both the Google Sheetsโ€™ and tableโ€™s locale is Turkey. This is rather confusing for the end user who wants to search a date using the search box. Is there a way to solve this? Or did I by some luck catch a โ€œbugโ€?

Cheers,

NeลŸet

0 5 340
  • UX
5 REPLIES 5

I believe itโ€™s by design and locale settings donโ€™t have an effect on the search process.

Thanks Levent. It seems the users should perform the date search using mm/dd/yyyy format.

Cheers

Based on the findings in one of my apps, I can confirm that the search bar unluckily disrespects locale settings when it comes to dates.

As a workaround, I am thinking of a virtual helper column that calculates a string in the form of the expected locale dd/mm/yyyy

TEXT([Date], "dd/mm/yyyy") โ†’ thanks @Steve for the hint!

However, when the user searches e.g. for Dec 1st and enters โ€œ1/12โ€ instead of โ€œ01/12โ€, 11th Dec, 21 Dec and 31 Dec also show up if present in the table

I wish the text function would allow to format numbers other then dates e.g. TEXT( value, format )

Top Labels in this Space