From: Igor Zubkov <igor.zubkov@gmail.com>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] Время на packages.altlinux.org
Date: Tue, 7 Aug 2018 14:22:43 +0300
Message-ID: <CAJXf7QOEVHf6GdWabcEhuOhjW1VvcLLp9D-N6Dcc8FTz+4gKMw@mail.gmail.com> (raw)
In-Reply-To: <20180806173156.GF30813@altlinux.org>
2018-08-06 20:31 GMT+03:00 Alexey V. Vissarionov:
> On 2018-08-06 19:43:24 +0300, Igor Zubkov wrote:
>
> > Переписываю парсер rpm файлов для packages.altlinux.org. И тут возник
> > вопрос который касается того как же rpm считает время.
> > $ rpm -qp --qf="%{BUILDTIME}\n" spec/data/catpkt-1.0-alt5.src.rpm
> > 1349449185
> > Вот это время в каком часовом поясе?
>
> В каком нужно, в таком и будет.
> `date '+%F %T %Z' -d '1970-01-01 UTC +1349449185 seconds'`
Я правильно понимаю что это UTC время?
Я тут нашёл https://github.com/rpm-software-management/rpm/commit/b8a54d6a1e9bb6140b6b47e23dc707e4b967537e
и https://reproducible-builds.org/specs/source-date-epoch/
(SOURCE_DATE_EPOCH -- A UNIX timestamp, defined as the number of
seconds, excluding leap seconds, since 01 Jan 1970 00:00:00 UTC.)
--
Igor Zubkov
http://hi.im/ice
prev parent reply other threads:[~2018-08-07 11:22 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-06 16:43 Igor Zubkov
2018-08-06 16:56 ` Michael Shigorin
2018-08-06 17:16 ` Nikolay A. Fetisov
2018-08-07 11:41 ` Igor Zubkov
2018-08-08 4:42 ` Nikolay A. Fetisov
2018-08-06 17:31 ` Alexey V. Vissarionov
2018-08-07 11:22 ` Igor Zubkov [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=CAJXf7QOEVHf6GdWabcEhuOhjW1VvcLLp9D-N6Dcc8FTz+4gKMw@mail.gmail.com \
--to=igor.zubkov@gmail.com \
--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