J!Extensions Store™
Forum
Welcome, Guest
Please Login to access forum.
Re:Local Time? (1 viewing) 
Go to bottom
TOPIC: Re:Local Time?
#1509
John Dagelmore
Admin
Posts: 3716
User Online Now
Re:Local Time? Karma: 79  
You can add the following line to the local php.ini:

Code:

date.timezone=Australia/Brisbane
or the following PHP line to the template file used to show stats -> joomlapath/administrator/components/com_jrealtimeanalytics/views/serverstats/tmpl/graph_main.php
Code:

date_default_timezone_set('Australia/Brisbane');
If you have any difficulties to configure this, contact me at This e-mail address is being protected from spam bots, you need JavaScript enabled to view it providing an FTP account. Regards, John
 
Logged Logged  
  The administrator has disabled public write access.
#1510
Geoff Doohan
Fresh Boarder
Posts: 8
User Offline
Re:Local Time? Karma: 0  
John Dagelmore wrote:
QUOTE:


or the following PHP line to the template file used to show stats -> joomlapath/administrator/components/com_jrealtimeanalytics/views/serverstats/tmpl/graph_main.php

Code:

date_default_timezone_set('Australia/Brisbane');
Regards, John
placed the code into graph_main.php - works great, much easier to see and relate to! thx
 
Logged Logged  
  The administrator has disabled public write access.
#1511
John Dagelmore
Admin
Posts: 3716
User Online Now
Re:Local Time? Karma: 79  
Thank you for the feedback Geoff!

By the way we are working to the new release 2.4 of JRealtime, in the new version there will be a parameter to rule the timezone using the configuration.

thx

John
 
Logged Logged  
  The administrator has disabled public write access.
#1512
Geoff Doohan
Fresh Boarder
Posts: 8
User Offline
Re:Local Time? Karma: 0  
That'll make it easy - I can see where there may be times when you may want to switch back to server time if comparing server logs in the backend ..... thx
 
Logged Logged  
  The administrator has disabled public write access.
#1513
John Dagelmore
Admin
Posts: 3716
User Online Now
Re:Local Time? Karma: 79  
Yes we planned to add a parameter to be able to switch easily between server time and Joomla time using the global config, much easier to configure it as needed and use different configurations.

thx

John
 
Logged Logged  
  The administrator has disabled public write access.
#1624
Gary Abel
Fresh Boarder
Posts: 5
User Offline
Re:Local Time? Karma: 0  
Hi

I am running version 2.5 of your analytics program on Joomla 3.3.6.

No matter which time offset I choose (Joomla or Server), the time reported stays the same.

How can I ensure your excellent program shows server time zone?

Many thanks.

Gary
 
Logged Logged  
  The administrator has disabled public write access.
Go to top