J!Extensions Store™
Forum
Welcome, Guest
Please Login to access forum.
Re:Local Time? (1 viewing) 
Go to bottom
TOPIC: Re:Local Time?
#7390
John Dagelmore
Admin
Posts: 3716
User Online Now
[CLOSED]Re:Local Time? Karma: 79  
Hello,

no there are no updates about this. The reason is explained above:

QUOTE:
the realtime stats is a client side application completely independent from the server side settings, this is because the time is that used in your browser and in your pc.


Regards
 
Logged Logged  
  The administrator has disabled public write access.
#7391
Sanchit Jain
Fresh Boarder
Posts: 9
User Offline
Re:Local Time? Karma: 0  
QUOTE:
the time is that used in your browser and in your pc.


This is false. All my clients & even my machine has IST time which is GMT+5:30.

Only realtime is showing in server's time (EST) while other stats (page/user) shows in IST.

I tried modifying in php.ini but no luck.

Please let me know.
 
Logged Logged  
  The administrator has disabled public write access.
#7393
John Dagelmore
Admin
Posts: 3716
User Online Now
Re:Local Time? Karma: 79  
So probably you get the timezone based on your MySql database settings.

In such case you have to modify the MySql configuration file, not php.ini

It's a MySql file called my.cnf or my.ini where you can specify the date timezone:

default-time-zone='+05:30'

Reference:
https://stackoverflow.com/questions/19903610/how-to-set-permanent-default-timezone-in-mysql-server
 
Logged Logged  
  The administrator has disabled public write access.
#7394
Sanchit Jain
Fresh Boarder
Posts: 9
User Offline
Re:Local Time? Karma: 0  
Thanks for pointing me to right path. Unfortunately, my hosting does not allow changing MySQL timezone on shared server.

Is there any other way? May be a way by which we can just add minutes to current time.

Let me know.
 
Logged Logged  
  The administrator has disabled public write access.
#7395
John Dagelmore
Admin
Posts: 3716
User Online Now
Re:Local Time? Karma: 79  
 
Logged Logged  
  The administrator has disabled public write access.
#7396
Sanchit Jain
Fresh Boarder
Posts: 9
User Offline
Re:Local Time? Karma: 0  
Okay!
 
Logged Logged  
  The administrator has disabled public write access.
Go to top