Closed Jonatthu closed 2 months ago
This can be done
@Jonatthu, apologize for the delayed response. I have just released version 0.7.0 where you can specify dateMode
to "string"
within the generator config. Kindly take a look at it.
No apologies needed, indeed thanks a lot for the changes and the feature!
Anyway just to change it at the field level instead of global level?
Anyway just to change it at the field level instead of global level?
Released 0.7.1 with field-level support, docs coming soon
model User {
...
/// drizzle.dateMode string
stringDate DateTime
...
}
Just tested it and it's working fine!
Default output is:
How do I change it to:
or modify the options?