Jump to:

3460 Posts in 1064 Topics by 739 members

Data Model Questions

SilverStripe Forums » Data Model Questions » Setting date format for GridField value in ModelAdmin

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

Page: 1
Go to End
Author Topic: 359 Views
  • jeffwhitfield
    Avatar
    Community Member
    2 Posts

    Setting date format for GridField value in ModelAdmin Link to this post

    I'm working on an implementation that uses the Blog module and another module called LargeBlog (https://github.com/icecaster/silverstripe-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.

    359 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.