Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Data Model Questions /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Setting date format for GridField value in ModelAdmin

Go to End



Community Member, 3 Posts

19 July 2013 at 2:23am

I'm working on an implementation that uses the Blog module and another module called LargeBlog ( The LargeBlog module creates a ModelAdmin using the BlogEntry class and also adds a DataExtension for the BlogEntry class to update the configuration for the ModelAdmin. What I'm trying to do is add the Date field for BlogEntry to $summary_fields, which works just fine, and update the formatting of the date shown on the GridField. However, I'm banging my head against a wall trying to figure out how to actually format the date. Any help would be most appreciated. :D