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.

General Questions /

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

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

Change date format in Gridfield table


Reply


2 Posts   458 Views

Avatar
hp777

Community Member, 12 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, 1799 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)