From: Alexey Tourbin <at@altlinux.ru>
To: ALT Devel discussion list <devel@altlinux.ru>
Subject: [devel] Re: К вопросу о часовых поясах в установщике
Date: Thu, 14 Jul 2005 02:23:31 +0400
Message-ID: <20050713222330.GC3337@solemn.turbinal.org> (raw)
In-Reply-To: <1120909668.6994.2.camel@alpha.fastlink.ru>
[-- Attachment #1: Type: text/plain, Size: 902 bytes --]
On Sat, Jul 09, 2005 at 03:47:48PM +0400, Вячеслав Диконов wrote:
> В Птн, 08/07/2005 в 12:21 +0400, Alexey Rusakov пишет:
> > Доброго времени суток.
> >
> > Кто-нибудь смотрел на то, как страница про часовые пояса написана в
> > Sarge? По-моему, отличная формулировка: если у вас только Linux, ставьте
> > GMT. Если есть другие операционные системы, ставьте местное. И без
> > всяких упоминаний известной ОС.
>
> Кстати, как надежно и правильно определять часовой пояс из perl-скрипта?
> Переменная TZ, ведь, может быть не определена. Скрипт должен работать не
> только в Линуксе, поэтому интересны разные способы.
strftime?
man strftime:
%z The time-zone as hour offset from GMT. Required to emit
RFC822-conformant dates (using "%a, %d %b %Y %H:%M:%S %z").
(GNU)
%Z The time zone or name or abbreviation.
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
prev parent reply other threads:[~2005-07-13 22:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-08 8:21 [devel] " Alexey Rusakov
2005-07-08 8:28 ` [devel] " Michael Shigorin
2005-07-09 11:47 ` [devel] " Вячеслав Диконов
2005-07-13 22:23 ` Alexey Tourbin [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=20050713222330.GC3337@solemn.turbinal.org \
--to=at@altlinux.ru \
--cc=devel@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 Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git