- Posts: 2
- Thank you received: 0
Event date format
- johnnygigantic
- Topic Author
- Offline
- New Member
-
Less
More
13 years 2 weeks ago - 13 years 2 weeks 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!
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: 13 years 2 weeks ago by johnnygigantic.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
13 years 1 week 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
Tuan
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.