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.

All other Modules

Discuss all other Modules here.

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

Preview: Event Calendar Module


Reply

293 Posts   41948 Views

Avatar
George

6 February 2009 at 5:00am Community Member, 41 Posts

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

Avatar
UncleCheese

6 February 2009 at 5:21am 4085 Posts

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

6 February 2009 at 5:52am Community Member, 41 Posts

Thanks.

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

Avatar
UncleCheese

6 February 2009 at 5:56am 4085 Posts

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

Avatar
George

6 February 2009 at 6:01am Community Member, 41 Posts

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

6 February 2009 at 11:25am 4085 Posts

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

Avatar
UncleCheese

7 February 2009 at 4:11am 4085 Posts

New stuff checked in today at:

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

Avatar
Chucky2k

7 February 2009 at 9:06pm Community Member, 32 Posts

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