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.

Eggdrop log, timestamp and webstats

General support and discussion of Eggdrop bots.
Post Reply
t
to2
Voice
Posts: 4
Joined: Fri Feb 01, 2008 6:35 am

Eggdrop log, timestamp and webstats

Post by to2 »

Hi! have read around but whatever I do in my egg.conf my timestamps at the webstats is way off by days...

When I run "date" in my shell, I get:
Fri Feb 1 05:39:25 EST 2008

My local time (and the time I want do display on my website) is: 11:39:25 ergo: plus 6 hours... Norwegian time which is UTC +1 hour winter time and +2 hours summer.

I have tried different time zones and different offset times... guess this is the only thing I can change, but the time on the web-stats page seems to always be wrong by days...


I use pisg to update my webstats btw.



thanks in advance!
User avatar
YooHoo
Owner
Posts: 939
Joined: Thu Feb 13, 2003 10:07 pm
Location: Redwood Coast

Post by YooHoo »

Read your conf file.

Code: Select all

# 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 "EST"

# 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 "5"
t
to2
Voice
Posts: 4
Joined: Fri Feb 01, 2008 6:35 am

Post by to2 »

and.?
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

to2 wrote:and.?
Read the information? Then edit to reflect the bots time zone.
set timezone "CST"

set offset "6"
The above is Texas, U.S.A
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Post Reply