From: Andrey Cherepanov <cas@altlinux.org>
To: devel@lists.altlinux.org
Subject: Re: [devel] Часовой пояс
Date: Wed, 13 Jan 2021 20:07:25 +0300
Message-ID: <9e6e48ee-8c78-13a5-e951-185187753c7b@altlinux.org> (raw)
In-Reply-To: <X/7LBqFFQ4k9ehPf@cello>
13.01.2021 13:27, Arseny Maslennikov пишет:
> On Fri, Nov 20, 2020 at 07:31:36PM +0300, Andrey Cherepanov wrote:
>> В Thunderbird при определении часового пояса используется код:
>>
>> osUserTimeZone =
>> environmentVariableValue("TZ") ||
>> symbolicLinkTarget("/etc/localtime") ||
>> fileFirstZoneLineString("/etc/TIMEZONE") ||
>> fileFirstZoneLineString("/etc/timezone") ||
>> fileFirstZoneLineString("/etc/sysconfig/clock");
>>
>> который в Альте не возвращает часовой пояс (так как /etc/localtime у нас
>> файл, а не симлинк, как в других дистрибутивах).
> У кого это "у нас"?
>
> [root@horse ~]# cat /etc/os-release
> NAME="Sisyphus"
> VERSION="20201124/unstable"
> ID=altlinux
> VERSION_ID=20201124
> PRETTY_NAME="ALT Regular"
> ANSI_COLOR="1;33"
> CPE_NAME="cpe:/o:alt:sisyphus:20201124"
> HOME_URL="http://en.altlinux.org"
> BUG_REPORT_URL="https://bugs.altlinux.org/"
> [root@horse ~]# ls -l /etc/localtime
> lrwxrwxrwx 1 root root 35 Oct 9 16:35 /etc/localtime -> ../usr/share/zoneinfo/Europe/Moscow
>
> Разворачивал я эту систему в середине февраля 2020, при помощи apt-get
> install -o "RPM::Root $chroot" или какой там синтаксис.
>
В p8. Оттуда и обновлялся. В p9 в новых дистрибутивах уже симлинк.
--
Andrey Cherepanov
cas@altlinux.org
prev parent reply other threads:[~2021-01-13 17:07 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-20 18:20 ` Paul Wolneykien
2020-11-21 6:52 ` Andrey Cherepanov
2020-11-23 9:30 ` Sergey V Turchin
2020-11-20 19:05 ` Mikhail Efremov
2020-11-20 19:49 ` Andrey Savchenko
2020-11-21 6:48 ` Andrey Cherepanov
2020-11-20 21:12 ` Sergey Y. Afonin
2020-11-20 22:53 ` Paul Wolneykien
2020-11-21 7:37 ` [devel] Часовой пояс + MD5SUM в пакете timezones Anton Farygin
2020-11-21 14:39 ` Andrey Cherepanov
2020-11-21 14:50 ` Andrey Cherepanov
2020-11-22 14:08 ` Sergey Y. Afonin
2021-01-13 10:16 ` [devel] Часовой пояс Pavel Nakonechnyi
2021-01-13 10:33 ` Sergey V Turchin
2021-01-13 12:41 ` Pavel Nakonechnyi
2021-01-13 10:27 ` Arseny Maslennikov
2021-01-13 10:54 ` Alexey V. Vissarionov
2021-01-13 11:13 ` Arseny Maslennikov
2021-01-13 11:23 ` Sergey Afonin
2021-01-13 17:07 ` Andrey Cherepanov [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=9e6e48ee-8c78-13a5-e951-185187753c7b@altlinux.org \
--to=cas@altlinux.org \
--cc=devel@lists.altlinux.org \
/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