mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 12:24:38 +03:00
Another date fix
This commit is contained in:
@@ -205,6 +205,10 @@ func SQLGenKeys(i interface{}) string {
|
||||
if !t.Timestamp.IsZero() {
|
||||
query = append(query, fmt.Sprintf("%s=:%s", key, key))
|
||||
}
|
||||
case SQLiteDate:
|
||||
if t.Valid {
|
||||
query = append(query, fmt.Sprintf("%s=:%s", key, key))
|
||||
}
|
||||
case sql.NullString:
|
||||
if t.Valid {
|
||||
query = append(query, fmt.Sprintf("%s=:%s", key, key))
|
||||
|
||||
Reference in New Issue
Block a user