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.

All other Modules /

Discuss all other Modules here.

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

Preview: Event Calendar Module


Go to End


293 Posts   69203 Views

Avatar
George

Community Member, 41 Posts

6 February 2009 at 5:00am

I would change the date and time format.
I think it will be only possible in the code, but where?

Avatar
UncleCheese

Forum Moderator, 4102 Posts

6 February 2009 at 5:21am

That's a major to-do item right now is to support European date format. On your template, you can remove the $_Dates function and use $StartDate.Format() and $EndDate.Format() as you wish. The trade off is you lose the magic formatting that the $_Dates function provides.

Avatar
George

Community Member, 41 Posts

6 February 2009 at 5:52am

Thanks.

But the setlocal seems to be in EN for date and time. Do you have any general setting for this?

Avatar
UncleCheese

Forum Moderator, 4102 Posts

6 February 2009 at 5:56am

Can you explain what you mean? How do you want it to display?

Avatar
George

Community Member, 41 Posts

6 February 2009 at 6:01am

All Months (January,...) and Days (Monday,...) are now in English but I need them in German.
All my pages in SS are defined for DE, so I would change it.

Avatar
UncleCheese

Forum Moderator, 4102 Posts

6 February 2009 at 11:25am

Isn't the locale something that you configure in your php.ini? I thought the date() function was sensitive to that.

Avatar
UncleCheese

Forum Moderator, 4102 Posts

7 February 2009 at 4:11am

New stuff checked in today at:

svn co http://svn.codespaces.com/bluehousegroup/event_calendar

Avatar
Chucky2k

Community Member, 32 Posts

7 February 2009 at 9:06pm

Updated to the latest. Nothing being returned now seems to return nothing when using $_Times method.

Go to Top