| View previous topic :: View next topic |
| Author |
Message |
ultralord Master

Joined: 06 Nov 2006 Posts: 255
|
Posted: Mon Oct 29, 2007 1:18 pm Post subject: timezone etc.. |
|
|
guys my bot have date time
ultralord@grid:~/eggdrop$ date
Mon Oct 29 12:17:40 CDT 2007
i am from greece .. what i must write in .conf to have the correct hour in my bot?
thnx |
|
| Back to top |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Mon Oct 29, 2007 2:09 pm Post subject: |
|
|
set timezone
set offset |
|
| Back to top |
|
 |
ultralord Master

Joined: 06 Nov 2006 Posts: 255
|
Posted: Mon Oct 29, 2007 3:08 pm Post subject: |
|
|
| yes but i dont know what i must write :S i am confused about date times and i dont know how timezone/offset works |
|
| Back to top |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Mon Oct 29, 2007 5:50 pm Post subject: |
|
|
| I'm in the US, east coast, my time zone is "EST" (Eastern Standard Time) and the offset here is -5 (minus 5 hours from GMT (Grenwich Mean Time, the 0 point for time zones..) Presumably greece is a few hours ahead of GMT. You can google info about your time zone. |
|
| Back to top |
|
 |
CrazyCat Revered One

Joined: 13 Jan 2002 Posts: 1032 Location: France
|
|
| Back to top |
|
 |
ultralord Master

Joined: 06 Nov 2006 Posts: 255
|
Posted: Mon Oct 29, 2007 7:46 pm Post subject: |
|
|
i put
set timezone "EET"
set offset "+2"
in conf but i dont see any change i make restart the bot..
what is wrong? :/ |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Mon Oct 29, 2007 8:48 pm Post subject: |
|
|
| ultralord wrote: | i put
set timezone "EET"
set offset "+2"
in conf but i dont see any change i make restart the bot..
what is wrong? :/ |
The time is the time on the box the eggdrop is running on, NOT where you actually live. _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
ultralord Master

Joined: 06 Nov 2006 Posts: 255
|
Posted: Mon Oct 29, 2007 9:34 pm Post subject: |
|
|
yes.. i but i want my eggdrop runs the same date/time with my country..
My shell and the date/time on shell..
ultralord@grid:~$ date
Mon Oct 29 20:28:59 CDT 2007
but i want my eggdrop to have the same date/time with me in my country..
http://www.timeanddate.com/worldclock/city.html?n=26
also i make many changes on eggdrop.conf and nothing happend.. i kill the proccess i change the .conf and i run it again.. but same problem :s
anyone ? |
|
| Back to top |
|
 |
Callisto Halfop
Joined: 13 Mar 2005 Posts: 86
|
Posted: Tue Oct 30, 2007 3:12 am Post subject: |
|
|
| Where is your shell located ? what country? that may help us a little to start with. |
|
| Back to top |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
|
| Back to top |
|
 |
ultralord Master

Joined: 06 Nov 2006 Posts: 255
|
Posted: Tue Oct 30, 2007 3:33 am Post subject: |
|
|
rosc2112 tz is locked in my shell also i cant make change in /etc/localtime..
Callisto i think in illinois.. and me i am from Greece |
|
| Back to top |
|
 |
DragnLord Owner

Joined: 24 Jan 2004 Posts: 711 Location: C'ville, Virginia, USA
|
Posted: Tue Oct 30, 2007 8:08 am Post subject: |
|
|
| ultralord wrote: | i put
set timezone "EET"
set offset "+2"
in conf but i dont see any change i make restart the bot..
what is wrong? :/ | kill the bot, then start again
another way to set this up:
| Code: | | set env(TZ) "EET +2" |
|
|
| Back to top |
|
 |
ultralord Master

Joined: 06 Nov 2006 Posts: 255
|
Posted: Tue Oct 30, 2007 9:29 am Post subject: |
|
|
doesnt correct time..
i have script for time.. to check but..
[15:28:47] -> Ops #channel: !time
[15:28:49] -Botnick- [« Current time 11:28 30 Oct 2007 »] |
|
| Back to top |
|
 |
DragnLord Owner

Joined: 24 Jan 2004 Posts: 711 Location: C'ville, Virginia, USA
|
Posted: Tue Oct 30, 2007 9:44 am Post subject: |
|
|
| ultralord wrote: | | doesnt correct time.. |
If you put in the settings shown to you here into your conf file and they do not alter the time show when using ctcp TIME, there are 2 possible reasons:
1) your bot is "stuffed", recompiling may help
2) if it is your shell; then I suggest discussing it with the admins and if that doesn't work, find another shell (you should be able to have the time displayed how you want) |
|
| Back to top |
|
 |
ultralord Master

Joined: 06 Nov 2006 Posts: 255
|
Posted: Tue Oct 30, 2007 10:24 am Post subject: |
|
|
| i cant set the date/time with other way? ;/ |
|
| Back to top |
|
 |
|