Sophie

Sophie

distrib > Mageia > 5 > i586 > media > core-release > by-pkgid > 95b449427091cb0cd153a8618e92dbe9 > files > 57

freeguide-0.11-6.mga5.noarch.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
  <title>FreeGuide : Setting The TZ Environment Variable </title>
  <meta http-equiv='Content-Style-Type' content='text/css' />
  <link rel='stylesheet' href='../pub/skins/plain-freeguide/plain1.css' type='text/css' />
  <link rel="icon" href="../pub/skins/plain-freeguide/favicon.gif" type="image/x-icon" />
  <link rel="shortcut icon" href="../pub/skins/plain-freeguide/favicon.gif" type="image/x-icon" />
  <!--HeaderText--><style type='text/css'><!--
  ul, ol, pre, dl, p { margin-top:0px; margin-bottom:0px; }
  code.escaped { white-space: nowrap; }
  .vspace { margin-top:1.33em; }
  .indent { margin-left:40px; }
  .outdent { margin-left:40px; text-indent:-40px; }
  a.createlinktext { text-decoration:none; border-bottom:1px dotted gray; }
  a.createlink { text-decoration:none; position:relative; top:-0.5em;
    font-weight:bold; font-size:smaller; border-bottom:none; }
  img { border:0px; }
  .editconflict { color:green; 
  font-style:italic; margin-top:1.33em; margin-bottom:1.33em; }

  table.markup { border:2px dotted #ccf; width:90%; }
  td.markup1, td.markup2 { padding-left:10px; padding-right:10px; }
  table.vert td.markup1 { border-bottom:1px solid #ccf; }
  table.horiz td.markup1 { width:23em; border-right:1px solid #ccf; }
  table.markup caption { text-align:left; }
  div.faq p, div.faq pre { margin-left:2em; }
  div.faq p.question { margin:1em 0 0.75em 0; font-weight:bold; }
   
    .frame 
      { border:1px solid #cccccc; padding:4px; background-color:#f9f9f9; }
    .lfloat { float:left; margin-right:0.5em; }
    .rfloat { float:right; margin-left:0.5em; }
a.varlink { text-decoration:none; }

--></style>  <meta name='robots' content='index,follow' />
  <link rel='stylesheet' href='../pub/skins/plain-freeguide/plain2.css' type='text/css' />
</head>
<body>
<!--PageHeaderFmt-->
 <table id='wikihead' cellspacing='0' cellpadding='0' align='center'><tr>
  <td id='homelink'><img src='../pub/skins/plain-freeguide/favicon.gif' /> <a href='http://www.artificialworlds.net/freeguide'>FreeGuide</a></td>
  <td id='location'><span class='pagegroup'><a href='FAQ.html'>FAQ</a> &raquo;</span>
  <h1 class='pagetitle'>Setting The TZ Environment Variable</h1></td>
  <td id='wikicmds'><ul><li class='browse'><a accesskey=''  class='selflink' href='SettingTheTZEnvironmentVariable.html'>View</a>
</li><li class='edit'>
</li><li class='diff'>
</li><li class='print'>
</li></ul>
</td>
 </tr></table> 
<!--/PageHeaderFmt-->
  <table id='wikimid' cellspacing='0' cellpadding='0' align='center'><tr>
<!--PageLeftFmt-->
   <td id='wikileft' valign='top'>
    <p><form action='http://www.artificialworlds.net/freeguide'>
     <input type='hidden' name='n' value='FAQ.SettingTheTZEnvironmentVariable' />
     <input type='hidden' name='action' value='search' />
     <input type='text' name='q' value=' Search ' class='inputbox searchbox'
      onfocus="if(this.value=' Search ') {this.value=''}" 
      onblur="if(this.value=='') {this.value=' Search '}"
      /><input type='submit' class='inputbutton searchbutton'
      value='Go' /></form></p><br />
<ul><li><a class='wikilink' href='../Main/HomePage.html'>Home Page</a>
</li><li><a class='wikilink' href='../DownloadAndInstall/DownloadAndInstall.html'>Download And Install</a>
</li><li><a class='wikilink' href='../UserGuide/UserGuide.html'>User Guide</a>
</li><li><a class='wikilink' href='FAQ.html'>Help And FAQ</a>
</li><li><a class='wikilink' href='../Developers/Developers.html'>Developers</a>
</li><li><a class='wikilink' href='../Main/Credits.html'>Credits</a>
</li><li><a class='wikilink' href='../Main/Screenshots.html'>Screenshots</a>
</li><li><a class='wikilink' href='../Main/Links.html'>Links</a>
</li><li><a class='wikilink' href='../Main/SiteMap.html'>Site Map</a>
<div class='vspace'></div></li><li><a class='wikilink' href='../Main/ContactUs.html'>Contact Us</a>
</li></ul><div class='vspace'></div>
</td>
<!--/PageLeftFmt-->
    <td id='wikibody' valign='top'>
<!--PageText-->
<div id='wikitext'>
<h1>Setting the TZ environment variable</h1>
<p>If <span class='wikiword'>FreeGuide</span> is completely wrong about the time, you want the <a class='wikilink' href='ChangeTimeZone.html'>Change Time Zone</a> page.
</p>
<p class='vspace'>If <span class='wikiword'>FreeGuide</span> is right about the time (clicking the <strong>Go to now</strong> button scrolls to the correct time), but your listings are showing programmes at the wrong time, it's probably because the XMLTV grabber you are using is confused about your time zone.  You can fix this by setting the <strong>TZ</strong> environment variable.
</p>
<p class='vspace'>First you will need to find out the name of your time zone.  This site might help: <a class='urllink' href='http://www.timezoneconverter.com/cgi-bin/findzone/findzone.tzc' rel='nofollow'>http://www.timezoneconverter.com/cgi-bin/findzone/findzone.tzc</a>.  Examples are "Europe/London", "US/Pacific", "Africa/Algiers".
</p>
<p class='vspace'>Now, setting the environment variable is different on different operating systems:
</p>
<div class='vspace'></div><h3>Linux, <span class='wikiword'>FreeBSD</span>, etc.</h3>
<p>Edit the file ".bashrc" in your home directory, and add a line like this:
</p>
<p class='vspace'><code class='escaped'>export TZ=Europe/Paris</code>
</p>
<div class='vspace'></div><div class='indent'><em>(Except replace "Europe/Paris" with your time zone name.)</em>
</div><p class='vspace'>Now when you log out and log in again, and re-download your listings, they should have the correct time.  If not, please <a class='wikilink' href='../Main/ContactUs.html'>Contact Us</a> and we'll try to work out why not.
</p>
<div class='vspace'></div><h3>Windows</h3>
<ul><li>Click the <strong>Start</strong> button, then <strong>Control Panel</strong>, then double-click on <strong>System</strong>.
</li><li>Choose the <strong>Advanced</strong> tab, and click <strong>Environment Variables</strong>.
</li></ul><div class='vspace'></div><div><img src='../uploads/FAQ/SettingTZ-1.png' alt='' title='' /></div>
<div class='vspace'></div><div><img src='../uploads/FAQ/SettingTZ-2.png' alt='' title='' /></div>
</div>

    </td>
  </tr></table>
  <!--PageFooterFmt-->
 <table id='wikifoot' cellspacing='0' cellpadding='0' align='center'>
 <tr><td class='passwordlink' colspan='2'>If you would like to help improve this site, please <a class='wikilink' href='../Main/ContactUs.html'>Contact Us</a> and we will give you the password to edit pages.</td></tr>
 <tr>
  <td class='lastmod'>Page last modified on August 10, 2009, at 06:55 AM &nbsp; &nbsp;<a class='pmwikiinfolink' href="../Main/PmWikiInfo.html">PmWiki Info</a></td>
  <td class='footnav'><div  style='text-align: right;' > 
<p> -
 -
 -

() -

</p></div>
</td>
 </tr>
 </table>
<!--/PageFooterFmt-->
</body>
</html>