collapse collapse
* User Info
 
 
Welcome, Guest. Please login or register.
* Search

* Board Stats
  • stats Total Members: 989
  • stats Total Posts: 18363
  • stats Total Topics: 2500
  • stats Total Categories: 7
  • stats Total Boards: 35
  • stats Most Online: 1144

Author Topic: wrong time  (Read 1956 times)

0 Members and 1 Guest are viewing this topic.

Offline Lordhastur

  • BeBot Rookie
  • *
  • Posts: 3
  • Karma: +0/-0
wrong time
« on: August 13, 2010, 07:40:14 pm »
Hi when i use !time i got always shown the wrong time 2h behind actual time.
Where can i set the right timezone?????


regards
Jérôme

Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
Re: wrong time
« Reply #1 on: August 14, 2010, 12:59:02 am »
If the bot is showing 2 hours behind the displayed timezone, the time on the server itself needs to be adjusted as it is off.

For changing the timezone the bot displays, you will need to alter the module itself at present as we have no setting for it.
BeBot Founder and Fixer Kingpin

Offline Lordhastur

  • BeBot Rookie
  • *
  • Posts: 3
  • Karma: +0/-0
Re: wrong time
« Reply #2 on: August 14, 2010, 11:31:20 am »
The Bot runs on my home server system and the timezone is gmt+01:00 everything on the server works fine so i still dont understand why i get the wrong time displayed in orgchat with the !time cmd
when the bot should requesting the time from the server he´s running on? what do i miss?????


regards
Jérôme

Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
Re: wrong time
« Reply #3 on: August 14, 2010, 04:30:54 pm »
If the time is incorrect with !time, there is something off with your system time.

Either you have the wrong timezone configured but the time set correct for the timezone you are actually in, or you have the correct timezone but the time set incorrectly.

The bot, and by extension PHP relies on the time it is given by the server it's run on only. The only thing that can be changed within PHP is which timezone the time should be output in. And that wouldnt do anything to fix the problem if the time itself is off on the server.
BeBot Founder and Fixer Kingpin

Offline Lordhastur

  • BeBot Rookie
  • *
  • Posts: 3
  • Karma: +0/-0
Re: wrong time
« Reply #4 on: August 14, 2010, 09:55:33 pm »
hm so it looks like im just to stupid for this-.-
thx for ya time anyway



regards
Jérôme

 

* Recent Posts
[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 pm]


0.8.x updates for AoC by bitnykk
[January 30, 2024, 11:16:08 pm]


0.8.x updates for AO by bitnykk
[January 30, 2024, 11:15:37 pm]


BeBot still alive & kicking ! by bitnykk
[December 17, 2023, 12:58:44 am]


Bebot and Rasberry by bitnykk
[November 29, 2023, 11:04:14 pm]

* Who's Online
  • Dot Guests: 729
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.
* Forum Staff
bitnykk admin bitnykk
Administrator
Khalem admin Khalem
Administrator
WeZoN gmod WeZoN
Global Moderator
SimplePortal 2.3.7 © 2008-2024, SimplePortal