From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: To: ALT Devel discussion list Subject: Re: [devel] /etc/timezone Organization: Tyumen's University, Institute of Distance Education References: <20050923112012.GB29296@basalt.office.altlinux.org> From: "Vladimir V. Kamarzin" Date: Mon, 26 Sep 2005 11:15:01 +0600 In-Reply-To: <20050923112012.GB29296@basalt.office.altlinux.org> (Dmitry V. Levin's message of "Fri, 23 Sep 2005 15:20:12 +0400") Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Jumbo Shrimp, linux) MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV using ClamSMTP Cc: X-BeenThere: devel@altlinux.ru X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ALT Devel discussion list List-Id: ALT Devel discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Sep 2005 05:15:03 -0000 Archived-At: List-Archive: List-Post: >>>>> On 23 Sep 2005 at 17:20 "DVL" == Dmitry V Levin writes: >> А почему у нас нету сабжа? DVL> А что это такое и чем оно востребовано? root@vvk ~ # ls /etc/timezone ls: /etc/timezone: No such file or directory root@vvk ~ # echo "Asia/Yekaterinburg" > /etc/timezone root@vvk ~ # perl -MDate::Manip -le 'print ParseDate `date --date "1 hour ago" "+%Y-%m-%d %H:00"`' ERROR: Date::Manip unable to determine TimeZone. at /usr/lib/perl5/vendor_perl/Date/Manip.pm line 3636 Date::Manip::Date_TimeZone called at /usr/lib/perl5/vendor_perl/Date/Manip.pm line 677 Date::Manip::Date_Init() called at /usr/lib/perl5/vendor_perl/Date/Manip.pm line 1447 Date::Manip::ParseDate('2005-09-26 10:00\x{a}') called at -e line 1 root@vvk ~ # echo "+0500" > /etc/timezone root@vvk ~ # perl -MDate::Manip -le 'print ParseDate `date --date "1 hour ago" "+%Y-%m-%d %H:00"`' 2005092610:00:00 Из-за этого не работает logwatch, который я на днях отправил в Incoming. -- WBR, Vladimir V. Kamarzin.