Welcome, Guest
Username: Password: Remember me

TOPIC:

Change Date Format On Details Page 7 years 7 months ago #16960

alright here some info..

file: components/com_jem/classes/output.class.php
find "static function eventDateTime"

in that function you'll see code like
if ($timeFormat) {
			# mapping of time values
			# incoming values are in strftime format
			# output is in date format
			$timeFormat = str_replace('%H','H',$timeFormat);
			$timeFormat = str_replace('%M','i',$timeFormat);
			$timeFormat = str_replace('%p','A',$timeFormat);
			$timeFormat = str_replace('%P','a',$timeFormat);
		} else {
			$timeFormat	= "H:i";
		}

change it to
if ($timeFormat) {
			# mapping of time values
			# incoming values are in strftime format
			# output is in date format
			$timeFormat = str_replace('%H','H',$timeFormat);
			$timeFormat = str_replace('%M','i',$timeFormat);
			$timeFormat = str_replace('%p','A',$timeFormat);
			$timeFormat = str_replace('%P','a',$timeFormat);
			$timeFormat = str_replace('%I','h',$timeFormat);
			$timeFormat = str_replace('%l','g',$timeFormat);
		} else {
			$timeFormat	= "H:i";
		}
(won't respond to PM)
==================================================================
running: pre-alpha JEM 4.x (custom version) + Joomla 4.0.0-beta7 + PHP 7.3

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

Time to create page: 0.313 seconds

Donate

If you find JEM useful and if you use it on your site, please consider a donation to the project.

Private Messages

You are not logged in.

Follow us......