From: Dmitry Samoyloff <dsamoyloff@mail.ru> To: mandrake-russian@linuxteam.iplabs.ru Subject: Re: [mdk-re] perl É localtime() Date: Sat Feb 17 05:13:11 2001 Message-ID: <01021705113000.00656@sleepwalkers.local> (raw) In-Reply-To: <20010216180350.5E293B8682@rromas.user.lanet.ru> On Friday 16 February 2001 21:03, Roman S wrote: > On Fri, 16 Feb 2001 02:50:05 +0300 > > Dmitry Samoyloff <dsamoyloff@mail.ru> wrote: > > Здравствуйте! > > > > У меня в perl функция localtime() выдаёт дату по-английски. $LANG в bash > > > > установлена правильно: ru_RU.KOI8-R. По-русски получилось только так: > > > > $date=`export LANG=ru_RU.KOI8-R; date`; > > > > но это как-то некрасиво. Подскажите, пожалуйста, как заставить localtime > > > > говорить по-русски. > > А таки что в /etc/sysconfig/i18n LANG=ru_RU.KOI8-R LINGUAS=ru LANGUAGE=ru _XKB_CHARSET=KOI8-R SYSFONT=UniCyr_8x16 SYSFONTACM=koi8-r >~/.i18n (если есть) нету :-) > и что говорит команда locale? $ locale LANG=ru_RU.KOI8-R LC_CTYPE="ru_RU.KOI8-R" LC_NUMERIC="ru_RU.KOI8-R" LC_TIME="ru_RU.KOI8-R" LC_COLLATE="ru_RU.KOI8-R" LC_MONETARY="ru_RU.KOI8-R" LC_MESSAGES="ru_RU.KOI8-R" LC_ALL= С уважением, Дмитрий Самойлов
next prev parent reply other threads:[~2001-02-17 5:13 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2001-02-16 19:58 Dmitry Samoyloff 2001-02-16 21:00 ` Roman S 2001-02-17 5:13 ` Dmitry Samoyloff [this message] 2001-02-17 12:50 ` [mdk-re] Re: [mdk-re] perl и localtime() Mikhail Zabaluev 2001-02-18 2:57 ` [mdk-re] Re: [mdk-re] perl É localtime() 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=01021705113000.00656@sleepwalkers.local \ --to=dsamoyloff@mail.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