From: Sergey Vlasov <vsu@altlinux.ru>
To: community@lists.altlinux.org
Subject: Re: [Comm] date: неправильна дата
Date: Wed, 22 Jun 2011 23:15:28 +0400
Message-ID: <20110622191528.GA6099@atlas.home> (raw)
In-Reply-To: <4E01B40F.10408@kalina.in.ua>
[-- Attachment #1: Type: text/plain, Size: 525 bytes --]
On Wed, Jun 22, 2011 at 12:21:19PM +0300, Yura Kalinichenko wrote:
> K. A. Bylym пишет:
> > Не хочет, однако (
> uname -r ?
>
> Похоже, правильно работает только на x86_64.
Действительно, поскольку дата и время внутри системы представляются в
виде числа секунд от 00:00:00 UTC 1 января 1970 года, при ограничении
диапазона до 32-разрядного целого получаются следующие пределы:
$ date -R --utc -d @-2147483648
Fri, 13 Dec 1901 20:45:52 +0000
$ date -R --utc -d @2147483647
Tue, 19 Jan 2038 03:14:07 +0000
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2011-06-22 19:15 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-22 7:48 vsol
2011-06-22 8:05 ` Хихин Руслан
2011-06-22 8:20 ` K. A. Bylym
2011-06-22 9:21 ` Yura Kalinichenko
2011-06-22 9:57 ` Anton Gorlov
2011-06-22 10:32 ` K. A. Bylym
2011-06-22 19:15 ` Sergey Vlasov [this message]
2011-06-22 9:56 ` Anton Gorlov
2011-06-22 9:54 ` Vyatcheslav Perevalov
2011-06-22 10:05 ` Vyatcheslav Perevalov
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=20110622191528.GA6099@atlas.home \
--to=vsu@altlinux.ru \
--cc=community@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 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