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 forum.silverstripe.org 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.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Change date format in Gridfield table


Go to End


2 Posts   1557 Views

Avatar
hp777

Community Member, 13 Posts

30 March 2013 at 3:40am

In CMS grid >Files>Uploads>dates
not respecting the default date format. How do I change the date format?
It shows as 29/03/2013
should be Mar 29, 2013
or whatever profile states it should be

Avatar
swaiba

Forum Moderator, 1899 Posts

2 April 2013 at 6:31am

I'm sure there is a better way, but casting might still working (about half way down - http://doc.silverstripe.com/framework/en/topics/data-types)