Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Search

 
Advanced search

8043 Posts in 1856 Topics- by 2099 Members - Latest Member: roi
Calendar Script CommunityCustomizationHacks and Mods (Moderators: scott, DanO, Marty)Changing Time Zone Offset has no effect
Pages: [1]   Go Down
Print
Author Topic: Changing Time Zone Offset has no effect  (Read 285 times)
0 Members and 1 Guest are viewing this topic.
Steve
New Member
*

Karma: 0
Offline Offline

Posts: 0

photographer


WWW
« on: February 05, 2003, 08:46:00 AM »

I am running CalendarScript on my local machine using Indigoperl, Win98, browser IE6.

I've got a number of events entered into a calendar.  When I change the Time Zone Offset, nothing happens. I tried it first with -1 and then used more drastic offsets just to see if the times in the Calendar and Event views would change: no effect.

What am I doing wrong here? Or, is it something to do with the fact I am running CalendarScript on my local machine under indigoperl?

Logged
Steve
New Member
*

Karma: 0
Offline Offline

Posts: 0

photographer


WWW
« Reply #1 on: February 05, 2003, 09:58:00 AM »

As a follow-up:

Earlier, I made the following changes to default.html in order to get the time and date to show on the Event View.  Does the 'use Time::Local;' have any bearing on my not picking up the time_zone_offset?

elsif ($VIEW eq "Event") {
   $EVENT->{'details'} = &getEvent($in{'event_id'});
   $db = $main: BSchedule;
   use Time::Local;
   $schedules = &Event::getEventsInRange($db,timegm(0,0,0,$DATE,$MONTH-1,$YEAR-1900),timegm(0,0,0,$DATE+1,$MONTH-1,$YEAR-1900)-1);
   foreach (@$schedules) {
      if ($_->{event_id} == $EVENT->{details}->{id}) {
         $EVENT->{schedule} = $_;
         $EVENT2->{'schedule'} = &getEvent2($in{'event_id'});
         last;
         }
      }
   $db = $main: BEvents;
   $fields = &main: BGetFieldsInDisplayOrder($db);
   }

Logged
Pages: [1]   Go Up
Print
Jump to: