Search: Fix "unknown country" filter #3412

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer 2023-05-17 20:33:24 +02:00
parent 68e579775f
commit 4895d4102c
2 changed files with 3 additions and 3 deletions

View file

@ -1,8 +1,8 @@
msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: ci@photoprism.app\n"
"POT-Creation-Date: 2023-02-09 12:51+0000\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-03-09 13:14+0000\n"
"PO-Revision-Date: 2023-05-16 09:58+0000\n"
"Last-Translator: Admin <hello@photoprism.app>\n"
"Language-Team: Dutch <https://translate.photoprism.app/projects/photoprism/"

View file

@ -25,7 +25,7 @@ func NotEmpty(s string) bool {
// EmptyDateTime tests if the string is empty or matches an unknown time pattern.
func EmptyDateTime(s string) bool {
switch s {
case "", "-", ":", "z", "zz", "Z", "nil", "null", "none", "nan", "NaN":
case "", "-", ":", "z", "Z", "nil", "null", "none", "nan", "NaN":
return true
case "0", "00", "0000", "0000:00:00", "00:00:00", "0000-00-00", "00-00-00":
return true