1
jondixon
extCal & timezones
  • 2006/3/14 13:35

  • jondixon

  • Not too shy to talk

  • Posts: 107

  • Since: 2004/5/12


I'm trying to figure out why events posted with extCal are displaying different times when I'm logged in and when I am not. As far as I know my serve is in GMT-6 and I know I'm GMT-4.

The event as posted
http://www.solidrockyouth.ca/sry/modules/extcal/event.php?event=122

when I'm logged in is from 19:00-22:00. However, when I log out it shows 15:00-18:00.

How do I make the logged in time (thus the time I post) to be the same as the time I see when I'm logged out?

[I'm using XOOPS 2.2.4 and extCal 2.0.2]

Thanks.
......
dixonfamily

2
jfernau
Re: extCal & timezones
  • 2006/4/7 12:03

  • jfernau

  • Just popping in

  • Posts: 95

  • Since: 2003/12/29


I'm having the same issue with 2.0.13.2 and extcal 2.02a. I posted the problem in the extcal forum. Another user posted a fix that required making changed to extcal and one of the XOOPS core files. His change was for 2.2.3.

I found the same code in 2.0.13.2, so I tried to apply it there as well.

Still doesn't work for me.

The changes that he suggested for extcal fixed the time for logged in users, but the change to functions.php in XOOPS made no difference at all.

This is very frustrating.

3
jondixon
Re: extCal & timezones
  • 2006/4/7 12:35

  • jondixon

  • Not too shy to talk

  • Posts: 107

  • Since: 2004/5/12


I got it in my context. I had to set the server, site, and user time zones to be all the same (AST in my case).

The trick was to set mine and other users who post events to that time zone.
......
dixonfamily

4
zoullou
Re: extCal & timezones
  • 2006/4/7 13:18

  • zoullou

  • Quite a regular

  • Posts: 250

  • Since: 2004/3/2 0


Hi,

When an event is created, time is store at the server time.
When you show an event, if you are logged in, eXtCal convert time (at the serveur timezone) at your timezone but if you aren't logged in default timezone is used.

Cheers

5
jondixon
Re: extCal & timezones
  • 2006/4/7 13:28

  • jondixon

  • Not too shy to talk

  • Posts: 107

  • Since: 2004/5/12


Thanks, that was the problem that I was having. What I realised is that you can in the user profiles actually set a server time zone for a user. That was where we were off on my site, the server time and site time were the correct times, but I was listed as being several tim zones different.

Perhaps this is an item for a help file or something to go in the docs folder of the extcal module. Its a great resource that the module does this, but its simply not clear how to fix if not working.
......
dixonfamily

Login

Who's Online

230 user(s) are online (194 user(s) are browsing Support Forums)


Members: 0


Guests: 230


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits