J and Beyond 2013 | An International Joomla! Conference - May 31st - 2nd, 2013, Noordwijkerhout, The Netherlands
It is currently Sun May 19, 2013 4:45 pm

SOLVED - Latest Events shows end date time in wrong format

JEvents 2.0 was launched over 2 years ago and the latest stable version is version 2.2 which will run on Joomla 1.5 and Joomla 2.5. JEvents 1.5 is therefore no longer actively supported - you should upgrade to JEvents 2.2+ as soon as possible.
Forum rules
Please include as much detail in any test or bug reports for JEvents 1.5 as possible.

First of all, check if you are running the latest available version of Joomla! and JEvents. Posts for issues, where both systems are not updated, will be ignored.

We need the following at least:

* PHP version (e.g. 5.2.5). Note: Support for PHP4 is discontinued.
* Joomla! version
* JEvents version
* Web Server software (Apache or IIS with version number if possible)
* Server Operating system (e.g. Linux, Windows, Solaris, Darwin ...)
* Database version
* memory_limit from your phpinfo
* Web browser and version

Please enable error reporting and include any error messages in your posting. You do this via the Joomla Configuration - set "error reporting" to "maximum" on the Server tab.

Finally, please describe the steps required to recreate the problem and also please enable error reporting and give us any error messages generated.

SOLVED - Latest Events shows end date time in wrong format

Postby siegfried » Wed Dec 15, 2010 4:21 pm

Date format is set to use the 24 hour format.

Site is set up to use French module but the same effect happens when site is set to English.

Event is created that starts at 17:00 and ends at 22:00 on the same day.

The Latest Events module displays the event with the following format: Sam Fév 12 @17:00 - 10:00.

Clicking through to the event shows the end time in the correct format: 22:00.

so, the startDate is formated correctly but endDate is not. Any idea how to fix this?

php 5.2.14
Joomla 1.5.20 stable
Jevents 1.5.5
Apache 2
Linux
Mysql 5.0.91 I think
siegfried
Gold Members
Posts: 30
Joined: Wed Dec 15, 2010 4:08 pm

Re: Latest Events shows end date time in wrong format

Postby Geraint » Thu Dec 16, 2010 9:04 am

------------
JEvents club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits.

Join the JEvents club today!
User avatar
Geraint
Posts: 30518
Joined: Fri Feb 15, 2008 6:14 pm

Re: Latest Events shows end date time in wrong format

Postby siegfried » Thu Dec 16, 2010 2:49 pm

Thanks. I had gone through http://php.net/manual/en/function.strftime.php but misread what the setting should have been.

For the record,

${eventDate}[!a: - ${endDate(%H:%M)}]
${title}

works just fine now.
siegfried
Gold Members
Posts: 30
Joined: Wed Dec 15, 2010 4:08 pm

Re: Latest Events shows end date time in wrong format

Postby ronydjohan » Wed Feb 08, 2012 10:14 am

hi, i'm newbie, and have no experience in php. i got the same problem too.
I set my starting event time in 20:00 and ending event time in 22:00, but in the latest event module, it shows 20:00 - 10:00 instead of 20:00 - 22:00

i have tried to to the change as mentioned above :
${eventDate}[!a: - ${endDate(%H:%M)}]
${title}
in JEvents Configuration, but nothing effect.

i have read this link http://www.jevents.net/en/jevents-15-topmenu-17/119-custom-format-strings-in-the-latest-events-module, but i don't know where to do the changing for the module parameter string.

really need help, thanks i advanced.

fyi :
www.palyulindo.org
Joomla 1.5.23
JEvents v2.0.4 Stable
ronydjohan
Posts: 4
Joined: Wed Oct 12, 2011 6:17 am

Re: Latest Events shows end date time in wrong format

Postby Geraint » Wed Feb 08, 2012 10:25 am

check the 'use settings below' config option in the module parameters
------------
JEvents club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits.

Join the JEvents club today!
User avatar
Geraint
Posts: 30518
Joined: Fri Feb 15, 2008 6:14 pm

Re: Latest Events shows end date time in wrong format

Postby ronydjohan » Wed Feb 08, 2012 10:42 am

@Geraint : thanks, really appreciate it.
ronydjohan
Posts: 4
Joined: Wed Oct 12, 2011 6:17 am

Re: SOLVED - Latest Events shows end date time in wrong form

Postby user982750 » Tue May 22, 2012 10:33 am

The link provided earlier in this post is not longer available. Can anyone provide a new link for information on how to fix the time "format" shown in Latest Events?

Thank you! :-)
user982750
Posts: 3
Joined: Tue May 22, 2012 10:27 am

Re: SOLVED - Latest Events shows end date time in wrong form

Postby Tonyp » Tue May 22, 2012 12:52 pm

Go to the Documentation the the Custom Format Strings Latest Events Module.

That definitely works ;)
---------------------------------------

Do not forget if you like JEvents, why not join the CLUB! for priority support and lots of excellent plugin's. JEvents Club
User avatar
Tonyp
Contributor
Posts: 8717
Joined: Tue Oct 12, 2010 9:12 pm
Location: Isle of Man


Return to JEvents 1.5 (No longer actively supported)

Who is online

Users browsing this forum: No registered users

Main Menu

User Menu

Hosted By


Who is online

In total there are 0 users online :: 0 registered and 0 hidden (based on users active over the past 5 minutes)
Most users ever online was 94 on Tue Sep 01, 2009 12:33 am

Users browsing this forum: No registered users

Login Form