Search: Fix "unknown country" filter #3412
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
parent
68e579775f
commit
4895d4102c
2 changed files with 3 additions and 3 deletions
|
@ -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/"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue