Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Nov 25, 2009 13:47
open dhtmlx forum
utc

Thank you, use in component joomla in the models/scheduler.php file
do as recomendo it stanislav but now as increased or disminuyo time, since other countries users see it to a different to your location is not the exact time?

$scheduler .= '
   <script type="text/javascript" charset="utf-8">
   window.onload = function init() {
    
     scheduler.config.xml_date="%Y-%m-%d %H:%i";
     scheduler.config.server_utc = true;
     scheduler.config.first_hour = 10;
    scheduler.config.last_hour = 26;

------------

that is what should I do?

UTC - 2
UTC - 4
UTC - 6
UTC + 2
....?

 scheduler.config.server_utc = true+6;  ??? haha

helpme please, thanx

UTC - 2
UTC - 4
UTC - 6
UTC + 2
....?

that is what should I do?

 

Answer posted by Alex (support) on Nov 26, 2009 07:10

Hello,

server_utc can be only false (default) or true.

If this mode is enabled scheduler will convert server side dates from utc to local timezone automatically, and backward during data sending to server. So, server side script should return utc dates.