mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-24 04:07:47 +00:00
Change init to fix Swift error
This commit is contained in:
1 parent
1acf8e4b1e
commit
fbc0ee77bb
1 file changed
+1
-2
@@ -84,8 +84,7 @@ public struct DatabaseDateComponents: DatabaseValueConvertible, StatementColumnC
|
||||
guard let components = optionalComponents else {
|
||||
return nil
|
||||
}
|
||||
self.dateComponents = components.dateComponents
|
||||
self.format = components.format
|
||||
self.init(components.dateComponents, format: components.format)
|
||||
}
|
||||
|
||||
// MARK: - DatabaseValueConvertible adoption
|
||||
|
||||
Reference in new issue
Block a user