Event date format

  • johnnygigantic
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 2 days ago - 12 years 2 days ago #15356 by johnnygigantic
Event date format was created by johnnygigantic
Just a heads up..

When changing the event date format in the control panel, you can't use the "slash (\)" formatting that is allowed via php normally , probably because it is formatted after submission.

For instance if I wanted to use this format:

l, F jS Y \@ g:ia

The slash would be stripped and the date format would be incorrect.

However if you edit the default.php in mod_mb_events/tmpl/default.php

you can insert that manually which would result in this being displayed:

Friday, May 4th 2012 @ 7:00am.

Just a heads up. Love this component so far!
Last edit: 12 years 2 days ago by johnnygigantic.

Please Log in or Create an account to join the conversation.

More
12 years 2 days ago #15358 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Event date format
Could you please try to enter l, F jS Y \\@ g:ia (note the double slash) .

Tuan

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc