Menu

#1199 Calendar shows 40 days

XOOPS_2.5.x
closed
9
2013-09-14
2012-02-27
No

http://xoops.org/modules/newbb/viewtopic.php?post_id=344404#forumpost344404

When I add an event in extcal the number of date will continue up to 40!

Discussion

  • Xavier Soler

    Xavier Soler - 2012-03-14

    first of all in /include/common.php line +/- 132
    **

    • Merge file and db configs.
      */
      if (file_exists($file = $GLOBALS['xoops']->path('var/configs/xoopsconfig.php'))) {
      $fileConfigs = include $file;
      $xoopsConfig = array_merge($xoopsConfig, (array) $fileConfigs);
      unset($fileConfigs, $file);
      } else {
      trigger_error('File Path Error: ' . 'var/configs/xoopsconfig.php' . ' does not exist.');
      }
      // ADD THIS
      $xoops_server_timezone="Etc/GMT";
      if ($xoopsConfig["server_TZ"]>0) {
      $xoops_server_timezone .="+".$xoopsConfig["server_TZ"];
      }
      else{
      $xoops_server_timezone .=$xoopsConfig["server_TZ"];
      }
      date_default_timezone_set($xoops_server_timezone);
     
  • Mage Grégory

    Mage Grégory - 2012-03-25

    Fixed in SVN and waiting for review

     
  • Michael Beck

    Michael Beck - 2012-04-01

    Fixed in SVN and waiting for review

     
  • Michael Beck

    Michael Beck - 2013-09-14
    • status: pending --> closed
     

Log in to post a comment.

Monday.com Logo