This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Correct Time Setting

Old posts that have not been replied to for several years.
Locked
H
Hugsville

Correct Time Setting

Post by Hugsville »

I have tried all different settings in my bots to try and get them to show my timezone but to no avail.
I am in the UK
Can anyone help please.
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

Can you be more specific on what are you tryng to do? About what "correct time" are you talking?
Once the game is over, the king and the pawn go back in the same box.
H
Hugsville

Post by Hugsville »

OK
When I DCC Chat into one of my bots I get this:

[07:48] «Hugsville» Hey John-Sue! My name is Hugsville and I am running eggdrop v1.6.13, on Linux 2.4.18-24.7.x.
[07:48] «Hugsville»
[07:48] «Hugsville» Local time is now 23:48
[07:48] «Hugsville» You are an owner of this bot. Only +n users can see this! For more info,

As you can see my time is 07:48 but the bots time is 23:48.
Is there a way to make the bot time the same as mine?
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

In the .conf file go to set timezone and put there 0, this is for UK - London.
Once the game is over, the king and the pawn go back in the same box.
H
Hugsville

Post by Hugsville »

I have tried that before but it didnt work.
This is how it is currently set in the config file:

# This setting defines the timezone is your bot in. It's used for internal
# routines as well as for logfile timestamping and scripting purposes.
# The timezone string specifies the name of the timezone and must be three
# or more alphabetic characters. For example, Central European Time(UTC+1)
# should be "CET".
set timezone "CET"

# The offset setting specifies the time value to be added to the local
# time to get Coordinated Universal Time (UTC aka GMT). The offset is
# positive if the local timezone is west of the Prime Meridian and
# negative if it is east. The value (in hours) must be between -23 and
# 23. For example, if the timezone is UTC+1, the offset is -1.
set offset "-1"
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

Oups.. sorry about that, it's set timezone "GMT" and set offset "0". Mixed them a bit..
Once the game is over, the king and the pawn go back in the same box.
F
Fips

Post by Fips »

I tried also hard, but now I've have it solved.
The setting for correct CE(S)T must be:

...
set timezone "CET"
set offset "-2"
set env(TZ) ...
Locked