{"id":65,"date":"2008-02-26T12:12:35","date_gmt":"2008-02-26T15:12:35","guid":{"rendered":"http:\/\/www.foxnet.com.br\/portal2\/?p=65"},"modified":"2008-05-02T12:13:23","modified_gmt":"2008-05-02T15:13:23","slug":"setting-your-timezone","status":"publish","type":"post","link":"https:\/\/www.foxnet.com.br\/portal3\/?p=65","title":{"rendered":"Setting your timezone"},"content":{"rendered":"<p>The timezone under Linux is set by a symbolic link from \/etc\/localtime<strong><span style=\"font-size: xx-small;\">[1]<\/span><\/strong> to a file in the \/usr\/share\/zoneinfo<strong><span style=\"font-size: xx-small;\">[2]<\/span><\/strong> directory that corresponds with what timezone you are in. For example, since I&#8217;m in South Australia, \/etc\/localtime is a symlink to \/usr\/share\/zoneinfo\/Australia\/South. To set this link, type:<\/p>\n<p><span style=\"font-size: small; color: #ff0000;\">ln -sf ..\/usr\/share\/zoneinfo\/your\/zone \/etc\/localtime<\/span><\/p>\n<p>Replace your\/zone with something like Australia\/NSW or Australia\/Perth. Have a look in the directories under \/usr\/share\/zoneinfo to see what timezones are available.<\/p>\n<p><span style=\"font-size: xx-small;\"><strong>[1]<\/strong><\/span> This assumes that \/usr\/share\/zoneinfo is linked to \/etc\/localtime as it is under Red Hat Linux.<br \/>\n<strong><span style=\"font-size: xx-small;\">[2]<\/span><\/strong> On older systems, you&#8217;ll find that \/usr\/lib\/zoneinfo is used instead of \/usr\/share\/zoneinfo. See also the later section &#8220;The time in some applications is wrong&#8221;.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The timezone under Linux is set by a symbolic link from \/etc\/localtime[1] to a file in the \/usr\/share\/zoneinfo[2] directory that corresponds with what timezone you are in. For example, since I&#8217;m in South Australia, \/etc\/localtime is a symlink to \/usr\/share\/zoneinfo\/Australia\/South. To set this link, type: ln -sf ..\/usr\/share\/zoneinfo\/your\/zone \/etc\/localtime Replace your\/zone with something like Australia\/NSW&#8230; <\/p>\n<div class=\"read-more navbutton\"><a href=\"https:\/\/www.foxnet.com.br\/portal3\/?p=65\">Read More<i class=\"fa fa-angle-double-right\"><\/i><\/a><\/div>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15,14],"tags":[],"class_list":["post-65","post","type-post","status-publish","format-standard","hentry","category-linux_dicas","category-linux"],"_links":{"self":[{"href":"https:\/\/www.foxnet.com.br\/portal3\/index.php?rest_route=\/wp\/v2\/posts\/65","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.foxnet.com.br\/portal3\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.foxnet.com.br\/portal3\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.foxnet.com.br\/portal3\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.foxnet.com.br\/portal3\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=65"}],"version-history":[{"count":0,"href":"https:\/\/www.foxnet.com.br\/portal3\/index.php?rest_route=\/wp\/v2\/posts\/65\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.foxnet.com.br\/portal3\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=65"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.foxnet.com.br\/portal3\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=65"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.foxnet.com.br\/portal3\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=65"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}