There is only one way per table to set all columns using Date to one format. For example:
public static var dateEncodingFormat: DateEncodingFormat = .timestamp
or
public static var dateEncodingFormat: DateEncodingFormat = .date
Steps to Reproduce
public fileprivate(set) var date: Date
public fileprivate(set) var updated: Date
public static var dateEncodingFormat: DateEncodingFormat = .timestamp
In this example, var date: should be .date, and var updated: should be .timestamp, to be more fine grained to their respective use cases in this table.
Expected vs. Actual Behaviour
[ ] Expect each column to be able to independently handle date format style.
[ ] Actually happening, each column takes the one format.
Improve DateEncodingFormat Support
There is only one way per table to set all columns using Date to one format. For example:
or
Steps to Reproduce
In this example,
var date:
should be.date
, andvar updated:
should be.timestamp
, to be more fine grained to their respective use cases in this table.Expected vs. Actual Behaviour