<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/12818" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2007-08-30T00:30:10-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/12818</id>

		<entry>
		<author><name><![CDATA[Ace-T]]></name></author>
		<updated>2007-05-28T06:59:30-04:00</updated>

		<published>2007-05-28T06:59:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=73096#p73096</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=73096#p73096"/>
		<title type="html"><![CDATA[Timezone problem]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=73096#p73096"><![CDATA[
came in handy, thx <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8148">Ace-T</a> — Mon May 28, 2007 6:59 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[wac]]></name></author>
		<updated>2007-08-30T00:29:02-04:00</updated>

		<published>2006-12-10T04:32:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68828#p68828</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68828#p68828"/>
		<title type="html"><![CDATA[Timezone problem]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68828#p68828"><![CDATA[
well [censored] it worked i guess its just because i was doing -5 instead of 5 thanks, hehe now i feel kinda stupid...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8485">wac</a> — Sun Dec 10, 2006 4:32 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2006-12-10T04:24:16-04:00</updated>

		<published>2006-12-10T04:24:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68826#p68826</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68826#p68826"/>
		<title type="html"><![CDATA[Timezone problem]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68826#p68826"><![CDATA[
Duh, I should've looked at my eggdrop.conf:<br><br>set timezone "EST"<br>set offset "5"<br><br># This setting defines the timezone is your bot in. It's used for internal<br># routines as well as for logfile timestamping and scripting purposes.<br># The timezone string specifies the name of the timezone and must be three<br># or more alphabetic characters. For example, Central European Time(UTC+1)<br># should be "CET".<br>set timezone "EST"<br><br># The offset setting specifies the time value to be added to the local<br># time to get Coordinated Universal Time (UTC aka GMT). The offset is<br># positive if the local timezone is west of the Prime Meridian and<br># negative if it is east. The value (in hours) must be between -23 and<br># 23. For example, if the timezone is UTC+1, the offset is -1.<br>set offset "5"<br><br># If you don't want to use the timezone setting for scripting purposes only,<br># but instead everywhere possible, un-comment the following line.<br>#set env(TZ) "$timezone $offset"<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Sun Dec 10, 2006 4:24 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[wac]]></name></author>
		<updated>2007-08-30T00:30:10-04:00</updated>

		<published>2006-12-10T04:24:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68825#p68825</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68825#p68825"/>
		<title type="html"><![CDATA[Timezone problem]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68825#p68825"><![CDATA[
i use bash and i got this when i ran tzsetup<br><br>│Could not open /etc/localtime: Permission denied<br><br>also i guess i forgot to mention that i do not have root and i already asked them if they could change the timezone for my shell only but they said that the change would be system wide and they wouldnt do it for me<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8485">wac</a> — Sun Dec 10, 2006 4:24 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2006-12-10T04:17:49-04:00</updated>

		<published>2006-12-10T04:17:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68824#p68824</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68824#p68824"/>
		<title type="html"><![CDATA[Timezone problem]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68824#p68824"><![CDATA[
Which shell are you using? bash? csh? zsh?  each shell has a different way of setting timezone afaik.  Also, timezone is usually a variable recognized by applications (I just checked the entire bash manpage for any timezone relevant variables, and found none, so apparently bash only cares about the system time, but you can also use strftime to set your prompt for a specific locale, for example.)  Did a quick check of eggdrop's docs and don't see any timezone related env. vars listed there either..<br><br>A quick google search for 'freebsd timezone' brought up:<br><br><a href="http://dannyman.toldme.com/2004/11/01/freebsd-user-timezone/" class="postlink">http://dannyman.toldme.com/2004/11/01/f ... -timezone/</a><br><br>might be helpful to you.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Sun Dec 10, 2006 4:17 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[wac]]></name></author>
		<updated>2007-08-30T00:29:52-04:00</updated>

		<published>2006-12-10T01:26:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68821#p68821</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68821#p68821"/>
		<title type="html"><![CDATA[Timezone problem]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68821#p68821"><![CDATA[
I have shell on a freebsd machine located somewhere other than my current timezone and for the life of me i cannot get it to log the correct time.<br><br>at first i tried this<br>set timezone "EST"<br>set offset "-5"<br>set env(TZ) "$timezone $offset"<br><br>and now this just to try to get some other random timezone<br>set timezone "UTC"<br>set offset "-6"<br>set env(TZ) "$timezone $offset"<br><br>but neither have worked thus far, im using 1.6.18 and have searched all over the place but havnt found anything, any help would be greatly appreciated<br><br>^wAc^<br><br>p.s. i am currently in the eastern timezone<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8485">wac</a> — Sun Dec 10, 2006 1:26 am</p><hr />
]]></content>
	</entry>
	</feed>
