ATutor

Learning Management Tools







Pages:1 2 3 4 5 6 7 8 9 10 11 12 13 14 15


Patch not working right


  • 2009-04-29 11:13:49

    Patch not working right

    Hello. I have 1.6.2 installed and I just put the newest patch (about time zones) in place.

    When I edit settings in the "Test and Surveys" area, the dropdown menu for the months now just has "[ ]" instead of the actual months.

    Has this happened for anyone else?

    Thanks.

  • 2009-04-29 11:31:00

    Re: Patch not working right?

    Check here:
    http://www.atutor.ca/view/3/17258/1.html

    Working on a patch.

  • 2009-04-29 11:45:28

    Re: Patch not working right?

    Yes. This has been confirmed as a bug. Patch #0022 has been issued for the fix. Thanks.

  • 2009-04-29 13:53:46

    Re: Patch not working right?

    Got it. Thanks.

    When setting the user offset, how can a student tell what the system time is? In My Start Page > Preferences the current system time is not displayed. but it is displayed in admin when you adjust the sytem time offset.

    Thanks for the help.

  • 2009-04-29 14:19:57

    Re: Patch not working right?

    A very good suggestion. The system time is added into user preference page. You will see it in next ATutor release. Thanks.

  • 2009-04-29 14:46:04

    Re: Patch not working right?

    Ok. In the meantime, I've added some code to my /ATutor/users/atutor_settings.inc.php in my installation and it works great. Maybe this could be a patch for others?

    ---------------------------------
    OPEN: /ATutor/users/atutor_settings.inc.php


    FIND:

    echo '<input type="text" name="time_zone" value="'.$selected_time_zone.'" size="4"/>';


    ADD BELOW THAT LINE:
    //following line added to display current system time when users are selecting their timezone offset under the "Preferences" tab
    echo ' Current System Time is:  <b>' . AT_date(_AT('server_date_format'), '', AT_DATE_MYSQL_DATETIME) . '</b>  (Please add or subtract hours to adjust time displays to match your time zone.)';

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

    Hope it helps.

  • 2009-04-29 15:00:25

    Re: Patch not working right?

    Ok. New problem......

    The times selected for releasing content and starting/ending Tests and Surveys don't match up. I keep getting a difference of 3 hrs. even though my time offset seems to be correctly set up.

    Is anyone else getting this?

  • 2009-04-29 15:36:05

    Re: Patch not working right?

    Umm.. this is confirmed. we are looking into it. Thanks.

  • 2009-06-15 10:06:02

    Re: Patch not working right?

    Hi, the 3 hrs difference is because timezone set in "admin preference" plus timezone set in "user preference" is 3 hrs.

    When start/end time of a test on "create/edit test" page is set to, for example, 9AM, the according values displayed at "Tests & Surveys" page would be 9AM + timezone.

  • 2009-06-15 10:26:10

    Re: Patch not working right?

    In addition to what Cindy has said, you can also look at "admin preference" timezone as the Server Timezone, which affects the entire system.

    "User preference" would be the User Timezone, which the user is at, but is relative to the server time.

    So the current timezone = admin timezone + user timezone.

    You are right though, this will create confusion because the users don't know what the admin timezone is and the result would appear to be a "bug".

    [reply][b]In reply to:[/b]
    Hi, the 3 hrs difference is because timezone set in "admin preference" plus timezone set in "user preference" is 3 hrs.

    When start/end time of a test on "create/edit test" page is set to, for...
    [op]forums/view.php?fid=7;pid=17275;page=1#17748[/op][/reply]

  • 2009-06-16 00:16:20

    Re: Patch not working right?

    Ok. I see what you guys are saying.

    Maybe this could be fixed in 1.6.3?

    Thanks.

  • 2009-06-16 08:38:18

    Re: Patch not working right?

    According to the original goal of timezone, this is how it's supposed to work. There won't be a fix in 1.6.3.