possibility to change DateMapper encoding type
Closed this issue · 4 comments
chirastefan commented
Is there a way to change the encoding type of DateMapper besides creating a custom Mapper from DateMapper?
schultek commented
https://pub.dev/documentation/dart_mappable/latest/topics/Models-topic.html
At te bottom there is a sectin about DateTime encoding
chirastefan commented
"To change the mode, set DateTimeMapper.encodingMode to any value of the DateTimeEncoding enum."
where exactly? on app load?
schultek commented
yes anytime before using the package is fine
chirastefan commented
ok, it works, ty