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

The Date format custom change

Discuss JEvents 2.x for Joomla 1.5-2.5 here - club members can use the special club forum for faster response times.
Forum rules
When requesting support, please copy and paste the 'Version information for Support Forum' from the JEvents Control Panel into your post. If you cannot see this, please enable JEvents project news within it's configuration. Also, if you get a 500 Error, Enable Joomla! Maximum Error Reporting and view the page again, you should now have a more detailed error which will help us to resolve you issue quickly.

The Date format custom change

Postby hoknight » Wed Oct 31, 2012 6:45 am

Hi,

How can I change the date format of List by Category page?

For example:
Friday 31 August 2012 > Friday August 31 2012

Thanks.
Attachments
ScreenShot394.jpg
ScreenShot394.jpg (27.23 KiB) Viewed 203 times
hoknight
Silver Members
Posts: 39
Joined: Thu Jul 05, 2012 9:42 am

Re: The Date format custom change

Postby Tonyp » Wed Oct 31, 2012 7:29 am

Hello,

Look at:

JEvents->Layout Defaults-> List Row, change it and save it. Then enable it.

You could also look at changing the time format strings in the language file.

Regards
Tony
---------------------------------------

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: 8715
Joined: Tue Oct 12, 2010 9:12 pm
Location: Isle of Man

Re: The Date format custom change

Postby hoknight » Wed Oct 31, 2012 7:47 am

Tonyp wrote:Hello,

Look at:

JEvents->Layout Defaults-> List Row, change it and save it. Then enable it.

You could also look at changing the time format strings in the language file.

Regards
Tony


I tried to modify language files both zh-TW.ini and zh-TW.com_jevents.ini like that:
DATE_FORMAT_0="%A, %d %B %Y" change to
DATE_FORMAT_0="%A, %B %d日 %Y"
----------------------------------------
DATE_FORMAT_LC=%A, %d %B %Y
DATE_FORMAT_LC1=%A, %d %B %Y change to
DATE_FORMAT_LC=%A, %B %d日 %Y
DATE_FORMAT_LC1=%A, %B %d日 %Y

However,the date format didn't update on frontpage.Is what is wrong?

Regards.
hoknight
Silver Members
Posts: 39
Joined: Thu Jul 05, 2012 9:42 am

Re: The Date format custom change

Postby Geraint » Wed Oct 31, 2012 8:48 am

If you are using the date format fields then you need to tell JEvents to use the date format settings from the language files. First tab of JEvents config I think
------------
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: 30507
Joined: Fri Feb 15, 2008 6:14 pm

Re: The Date format custom change

Postby hoknight » Wed Oct 31, 2012 9:02 am

Geraint wrote:If you are using the date format fields then you need to tell JEvents to use the date format settings from the language files. First tab of JEvents config I think


I got it!Thanks.
hoknight
Silver Members
Posts: 39
Joined: Thu Jul 05, 2012 9:42 am


Return to Jevents 2.x (Free Access)

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