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