<?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/18273" />

	<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>2011-01-26T14:09:32-04:00</updated>

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

		<entry>
		<author><name><![CDATA[FallFromGrace]]></name></author>
		<updated>2011-01-26T14:09:32-04:00</updated>

		<published>2011-01-26T14:09:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=95845#p95845</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=95845#p95845"/>
		<title type="html"><![CDATA[can't set timezone...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=95845#p95845"><![CDATA[
<blockquote class="uncited"><div><div class="codebox"><p>Code: </p><pre><code>set env(TZ) "$timezone $offset"</code></pre></div>is actually a bug (fixed in cvs), it should be<div class="codebox"><p>Code: </p><pre><code>set env(TZ) "$timezone$offset"</code></pre></div>maybe that helps, too</div></blockquote>Thank you, it works)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10083">FallFromGrace</a> — Wed Jan 26, 2011 2:09 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[thommey]]></name></author>
		<updated>2011-01-25T22:01:13-04:00</updated>

		<published>2011-01-25T22:01:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=95838#p95838</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=95838#p95838"/>
		<title type="html"><![CDATA[can't set timezone...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=95838#p95838"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set env(TZ) "$timezone $offset"</code></pre></div>is actually a bug (fixed in cvs), it should be<div class="codebox"><p>Code: </p><pre><code>set env(TZ) "$timezone$offset"</code></pre></div>maybe that helps, too<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9830">thommey</a> — Tue Jan 25, 2011 10:01 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[speechles]]></name></author>
		<updated>2011-01-25T18:10:13-04:00</updated>

		<published>2011-01-25T18:10:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=95837#p95837</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=95837#p95837"/>
		<title type="html"><![CDATA[Re: can't set timezone...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=95837#p95837"><![CDATA[
<blockquote class="uncited"><div>My eggdrop.conf:<blockquote class="uncited"><div>set timezone "GMT"<br>set offset "-1"<br>set env(TZ) "$timezone $offset"</div></blockquote>I have tried to change offset to another values, but it doesnt take effect at all (unlike my bots at Debian Linux)! Even if i change timezone or comment out env(TZ), bot still has UTC timezone.<br><br>How can i fix it?</div></blockquote>Um.. Why is your timezone "GMT" if you aren't in GMT/UTC? <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_rolleyes.gif" width="15" height="15" alt=":roll:" title="Rolling Eyes"> If you are GMT-1 then your timezone is "AT". Your assumption that "CET" is GMT-1 is incorrect. "CET" is GMT+1. My timezone in California, is GMT-8 or "PST". You need to use the "name" of the timezone in the timezone setting. One that eggdrop understands. Hence your use of "GMT" within the timezone setting will make the bot think you are GMT/UTC.<br><br>The offset is only ever used to tell the bot how far from GMT/UTC your time is. Not it's offset from the timezone you've set in the "timezone" setting.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8138">speechles</a> — Tue Jan 25, 2011 6:10 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[FallFromGrace]]></name></author>
		<updated>2011-01-25T08:37:04-04:00</updated>

		<published>2011-01-25T08:37:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=95836#p95836</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=95836#p95836"/>
		<title type="html"><![CDATA[can't set timezone...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=95836#p95836"><![CDATA[
I have a server with Debian linux, and it works perfect. But some time ago I have tried Ubuntu 10.10. It's almost same as Debian, but today i have found a problem which I still can't solve.<br><br>I have a 2 bots. I need to set CET (gmt-1) timezone to first of them, and GMT+0 to anther one. <br><br>I have setted up a tzconfig ( sudo dpkg-reconfigure tzdata) to GMT-1, and it works well in console: <blockquote class="uncited"><div>[user@ip-10-10-10-10 ~]$ date<br>Tue Jan 25 13:33:57 GMT-1 2011<br>[bitnami@ip-10-10-10-10 ~]$ date -u<br>Tue Jan 25 12:33:59 UTC 2011</div></blockquote>But bot still use UTC =(<br><br>My eggdrop.conf:<blockquote class="uncited"><div>set timezone "GMT"<br>set offset "-1"<br>set env(TZ) "$timezone $offset"</div></blockquote>I have tried to change offset to another values, but it doesnt take effect at all (unlike my bots at Debian Linux)! Even if i change timezone or comment out env(TZ), bot still has UTC timezone.<br><br>How can i fix it?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10083">FallFromGrace</a> — Tue Jan 25, 2011 8:37 am</p><hr />
]]></content>
	</entry>
	</feed>
