ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Mikhail Zabaluev <mhz@alt-linux.org>
To: Mikhail Zabaluev <sisyphus@altlinux.ru>
Subject: Re: [sisyphus] fwctl timezone problems
Date: Tue, 3 Jul 2001 23:55:48 +0400
Message-ID: <20010703235548.C1680@localhost.localdomain> (raw)
In-Reply-To: <78844007.20010702161337@ikar.zaural.ru>; from igor@ikar.zaural.ru on Mon, Jul 02, 2001 at 04:13:37PM +0600

Hello Igor,

On Mon, Jul 02, 2001 at 04:13:37PM +0600, Igor Vodennikov wrote:
>
> MZ> Попробуйте добавить %z к формату даты:
> 
> MZ> "`date --date '1 hour ago' +\%Y-\%m-\%d' '\%H:00' '%z`"
> 
>  
> не помогает ни %z ни %Z:
> 
> ERROR: Date::Manip unable to determine TimeZone.
>         Date::Manip::Date_TimeZone called at /usr/lib/perl5/site_perl/5.6.1/Date
> /Manip.pm line 629
>         Date::Manip::Date_Init() called at /usr/lib/perl5/site_perl/5.6.1/Date/M
> anip.pm line 1365
>         Date::Manip::ParseDate('2001-07-02 15:00 +0600 ') called at /usr/lib/per
> l5/site_perl/5.6.1/Fwctl/Report.pm line 279
>         Fwctl::Report::parse_date('2001-07-02 15:00 +0600 ') called at /usr/sbin
> /fwctllog line 194

Похоже, что-то с системными настройками или локалью.
Я поставил perl-DateManip-5.40-alt3,
посмотрел - у меня все работает:

$ perl -MDate::Manip -e 'print Date_TimeZone, "\n";'
MSD

Попробуйте эту команду и посмотрите, что происходит.
В 'man Date::Manip'/'perldoc Date::Manip' перечислено, где процедура ищет
эту самую зону.

-- 
Stay tuned,
  MhZ                                     JID: mookid@jabber.org
___________
And ever has it been known that love knows not its own depth until the
hour of separation.
		-- Kahlil Gibran



      reply	other threads:[~2001-07-03 19:55 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-28 23:10 [sisyphus] GCC 3.0 Mikhail Zabaluev
2001-06-28 20:33 ` Aleksey Novodvorsky
2001-06-29  4:28   ` Sergei
2001-06-29  6:44   ` Andrey Brindeew
2001-06-29  7:55     ` Aleksey Novodvorsky
2001-07-02  9:08   ` Re[2]: " Igor Vodennikov
2001-07-02  9:35     ` [sisyphus] fwctl timezone problems Mikhail Zabaluev
2001-07-02 10:13       ` Igor Vodennikov
2001-07-03 19:55         ` Mikhail Zabaluev [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010703235548.C1680@localhost.localdomain \
    --to=mhz@alt-linux.org \
    --cc=sisyphus@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git