Results 1 to 10 of 10

Thread: Wrong time in sugarCRM

  1. #1
    Rkhamas is offline Member
    Join Date
    May 2009
    Posts
    14

    Default Wrong time in sugarCRM

    Hi everyone,

    I am currently setting up SugarCRM at work, everything seems to go ok however the time value is one hour behind, its 11:07am right now however in sugar when I added an activity it said "added on 10:07am" or so.

    can anyone help?

    regards,

  2. #2
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: Wrong time in sugarCRM

    Verify that your time zone is set correctly within Sugar by clicking the "My Account" link in the upper right section.
    Regards,

    Angel Magaņa
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

  3. #3
    Rkhamas is offline Member
    Join Date
    May 2009
    Posts
    14

    Default Re: Wrong time in sugarCRM

    hi, thanks for the reply
    the time zone is correct, GMT+10 Sydney, is there anything else i can do?

  4. #4
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: Wrong time in sugarCRM

    Make sure that the time is set correctly on the server as well.
    Regards,

    Angel Magaņa
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

  5. #5
    Rkhamas is offline Member
    Join Date
    May 2009
    Posts
    14

    Default Re: Wrong time in sugarCRM

    hi,
    the time is correct on the server
    thanks

  6. #6
    clint's Avatar
    clint is offline Sugar Team Member | Forums Lead Moderator
    Join Date
    Aug 2004
    Location
    Silicon Valley
    Posts
    2,120

    Default Re: Wrong time in sugarCRM

    It turns out this is an issue we are preparing a patch for now. I'm not sure if the timing for daylight savings has changed for Australia or what, but we are going to change the daylight savings definition for all of the Australia timezones in the next patch.

    The file that will be patched is: include/timezone/timezones.php

    Here is a sample change that will be made. This is just for Melbourne. There are multiple other entries in this file for other Australian cities.

    Old:
    'Australia/Melbourne' =>
    array (
    'gmtOffset' => 600,
    'dstOffset' => 60,
    'dstMonth' => 10,
    'dstStartday' => -1,
    'dstWeekday' => 0,
    'stdMonth' => 3,
    'stdStartday' => -1,
    'stdWeekday' => 0,
    'dstStartTimeSec' => 7200,
    'stdStartTimeSec' => 7200,
    ),

    New:
    'Australia/Melbourne' =>
    array (
    'gmtOffset' => 600,
    'dstOffset' => 60,
    'dstMonth' => 10,
    'dstStartday' => 1,
    'dstWeekday' => 0,
    'stdMonth' => 4,
    'stdStartday' => 1,
    'stdWeekday' => 0,
    'dstStartTimeSec' => 7200,
    'stdStartTimeSec' => 7200,
    ),
    Sugar Developer Zone - developer resources | Sugar University - user and admin training
    Sugar Docs - user and admin documentation |
    Sugar Bug Tracker - Enter or view bugs
    SugarForge- open source modules, themes, lang packs | SugarExchange - commercial extensions

    Clint Oram
    Chief Technology Officer and Co-founder
    SugarCRM

  7. #7
    rodsingleton is offline Member
    Join Date
    Sep 2009
    Posts
    10

    Default Re: Wrong time in sugarCRM

    Thanks for the new timezone patch, I've been looking for this one.
    Sugar version: 5.2.0k CE
    Operating system: Centos 5.4
    Web server: Apache (httpd-2.2.3-31.el5.centos.2)
    PHP: (php-gd-5.1.6-23.2.el5_3
    php-cli-5.1.6-23.2.el5_3
    php-imap-5.1.6-23.2.el5_3
    php-pdo-5.1.6-23.2.el5_3
    php-5.1.6-23.2.el5_3
    php-common-5.1.6-23.2.el5_3
    php-mysql-5.1.6-23.2.el5_3
    php-mbstring-5.1.6-23.2.el5_3
    php-mcrypt-5.1.6-15.el5.centos.1)
    MySQL: mysql-5.0.77-3.el5

  8. #8
    thowden is offline Sugar Community Member
    Join Date
    Jul 2007
    Posts
    19

    Default Re: Wrong time in sugarCRM

    The patch needs to address the following changes to Daylight Saving Time in Australia. I have this in SugarCRM 5.2.0g

    Perth WA is no longer using DST and can have all DST settings removed. Their standard offset is 480.

    Adelaide, Broken Hill, Sydney, Melbourne, Hobart & Currie are the others that need to be changed to reflect the newly agreed consistent use of DST. The main change is that we have started earlier than previously on the first weekend in October rather than the last and for reverting next year we are now a week later on the first weekend in April rather than the last weekend of March.

    Change all the capitals in the timezones.php file as per this example for Australia. Noting that Perth, Darwin, Brisbane(& Lindeman) do not use DST settings.

    PHP Code:
      'Australia/Adelaide' => 
      array (
        
    'gmtOffset' => 570,
        
    'dstOffset' => 60,
        
    'dstMonth' => 10,
        
    'dstStartday' => -1,     <---  change this to 1 (not negative)
        
    'dstWeekday' => 0,
        
    'stdMonth' => 3,                  <---  change this to 4
        
    'stdStartday' => -1,              <--- change this to 1 (not negative)
        
    'stdWeekday' => 0,
        
    'dstStartTimeSec' => 7200,
        
    'stdStartTimeSec' => 7200,
      ), 

  9. #9
    matthew's Avatar
    matthew is offline Sugar Team Member
    Join Date
    Jul 2005
    Posts
    533

    Default Re: Wrong time in sugarCRM

    A hot fix for Australian Daylight Savings Time has been posted here:

    http://www.sugarcrm.com/forums/showt...456#post188456

    Sugar University for training
    Sugar Wiki for developer and user help
    SugarForge for modules, themes, lang packs
    SugarExchange for production-ready extensions
    Enter/view bugs via the Sugar bug tracker

  10. #10
    Kupo is offline Member
    Join Date
    Apr 2009
    Posts
    19

    Default Re: Wrong time in sugarCRM

    Very nice. applying the patch now

    Thanks!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Can anyone tell me what I'm doing wrong please? Time won't save
    By jim.thornton in forum Developer Help
    Replies: 7
    Last Post: 2009-10-23, 09:45 AM
  2. Email showing the wrong time
    By eskimo111273 in forum Help
    Replies: 1
    Last Post: 2009-03-25, 08:57 PM
  3. time wrong in calendar view
    By tabsystems in forum Help
    Replies: 1
    Last Post: 2005-10-19, 02:54 AM
  4. Wrong Time in Invitation Emails
    By ratclaws in forum Help
    Replies: 3
    Last Post: 2005-09-24, 09:21 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •