From: Mikhail Zabaluev <mookid@sigent.ru>
To: mandrake-russian@linuxteam.iplabs.ru
Subject: [mdk-re] Re: [mdk-re] perl и localtime()
Date: Sat Feb 17 12:50:49 2001
Message-ID: <20010217023950.D3904@localhost.localdomain> (raw)
In-Reply-To: <01021602500500.00654@sleepwalkers.local>; from dsamoyloff@mail.ru on Fri, Feb 16, 2001 at 02:50:05AM +0300
Hello Dmitry,
On Fri, Feb 16, 2001 at 02:50 +0300, Dmitry Samoyloff wrote:
>
> Здравствуйте!
>
> У меня в perl функция localtime() выдаёт дату по-английски. $LANG в bash
> установлена правильно: ru_RU.KOI8-R. По-русски получилось только так:
>
> $date=`export LANG=ru_RU.KOI8-R; date`;
>
> но это как-то некрасиво. Подскажите, пожалуйста, как заставить localtime
> говорить по-русски.
Э-э-э... localtime выдает массив из девяти чисел; как вы получаете из него
что-то английское?
--
Stay tuned,
MhZ mailto:mookid@sigent.ru
-----------
Say it with flowers,
Or say it with mink,
But whatever you do,
Don't say it with ink!
-- Jimmie Durante
next prev parent reply other threads:[~2001-02-17 12:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-02-16 19:58 [mdk-re] perl É localtime() Dmitry Samoyloff
2001-02-16 21:00 ` Roman S
2001-02-17 5:13 ` Dmitry Samoyloff
2001-02-17 12:50 ` Mikhail Zabaluev [this message]
2001-02-18 2:57 ` [mdk-re] " Dmitry Samoyloff
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=20010217023950.D3904@localhost.localdomain \
--to=mookid@sigent.ru \
--cc=mandrake-russian@linuxteam.iplabs.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 Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git