Description
Currently, Date is recorded a String with millisecond precision (for most modern devices).
For applications expecting greater precision (e.g., Dates compared to nanosecond precision in existing logic), custom @Column and #bind work, but require dashes of ceremony everywhere.
Avoiding that ceremony is possible if these formatters could output by default (or as an option) with greater precision.
Checklist
Expected behavior
Record Date with same precision as default JSONEncoder/Decoder behavior.
Actual behavior
Rounded millisecond precision
SQLiteData version information
1.6.6
Description
Currently, Date is recorded a String with millisecond precision (for most modern devices).
For applications expecting greater precision (e.g., Dates compared to nanosecond precision in existing logic), custom
@Columnand#bindwork, but require dashes of ceremony everywhere.Avoiding that ceremony is possible if these formatters could output by default (or as an option) with greater precision.
Checklist
mainbranch of this package.Expected behavior
Record Date with same precision as default JSONEncoder/Decoder behavior.
Actual behavior
Rounded millisecond precision
SQLiteData version information
1.6.6