Closed kctrlv closed 7 years ago
It's pretty interesting how the generator puts comments in the template. I've never seen that done before, but have definitely encountered the scenario where I have a partial and I'm not sure where it's being used. Looks like good work!
Thank you!
Resolves #114
The way the Administrate gem renders
DateTime
objects by default is asDate
s.source
I referenced the Administrate docs to auto-generate a custom view, and modified the partial on lines 59-63 to override that default behavior for
DateTime
s. The formatting can be altered on line 62 as desired.