mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02:00
[chore] update go-sqlite3 to v0.19.0 (#3406)
This commit is contained in:
3
vendor/github.com/ncruces/go-sqlite3/time.go
generated
vendored
3
vendor/github.com/ncruces/go-sqlite3/time.go
generated
vendored
@ -138,6 +138,9 @@ func (f TimeFormat) Encode(t time.Time) any {
|
||||
//
|
||||
// https://sqlite.org/lang_datefunc.html
|
||||
func (f TimeFormat) Decode(v any) (time.Time, error) {
|
||||
if t, ok := v.(time.Time); ok {
|
||||
return t, nil
|
||||
}
|
||||
switch f {
|
||||
// Numeric formats.
|
||||
case TimeFormatJulianDay:
|
||||
|
Reference in New Issue
Block a user