ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Mikhail Efremov <sem@altlinux.ru>
To: community@lists.altlinux.org
Subject: Re: [Comm] Опять системное время и таймзона.
Date: Thu, 18 Jun 2015 17:43:18 +0300
Message-ID: <20150618174318.30215d97@sem.office.altlinux.ru> (raw)
In-Reply-To: <201506181811.12569.a_s_y@sama.ru>

On Thu, 18 Jun 2015 18:11:12 +0400 Sergey wrote:
> On Thursday 18 June 2015, Kharitonov A. Dmitry wrote:
> 
> > user@eee2 ~ 16:47:23> date; sudo hwclock -r
> > Чт июн 18 16:47:41 MSK 2015
> > Thu Jun 18 19:47:52 2015  -1.000158 seconds
>  
> Вот оно и есть. Локальное - 16:47, а в RTC локальное + MSK.
> Ещё было бы понятно, если бы "локальное - MSK", тогда получилось
> бы UTC.

hwclock(8):
       -r, --show
       --get
              Read the Hardware Clock and print the time on standard
              output.  The time shown is always in local time, even if
              you keep your Hardware Clock in UTC.  See the --localtime
              option.

При отсутствии /etc/adjtime hwclock считает, что время в Hardware Clock
в UTC и при выводе прибавляет к нему +3.

-- 
WBR, Mikhail Efremov


  parent reply	other threads:[~2015-06-18 14:43 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-25 11:40 Sergey
2015-05-26  4:49 ` Sergey
2015-06-16  8:39 ` Sergey
2015-06-16 10:17   ` Sergey
2015-06-17 10:35     ` Kharitonov A. Dmitry
2015-06-17 12:32       ` Sergey
2015-06-18 13:51         ` Kharitonov A. Dmitry
2015-06-18 14:11           ` Sergey
2015-06-18 14:34             ` Kharitonov A. Dmitry
2015-06-19  6:56               ` Sergey
2015-06-18 14:43             ` Mikhail Efremov [this message]
2015-06-19  6:52               ` Sergey
2015-06-20 12:50                 ` Kharitonov A. Dmitry
2015-06-20 16:17                   ` Sergey
2015-06-20 17:06                     ` Sergey
2015-06-21 15:14                       ` Kharitonov A. Dmitry
2015-06-21 18:16                         ` Sergey
2015-06-25 10:11                           ` Kharitonov A. Dmitry
2015-06-26  6:58                             ` Sergey
2015-06-26 10:10                               ` Kharitonov A. Dmitry
2015-06-26 10:45                                 ` Sergey

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=20150618174318.30215d97@sem.office.altlinux.ru \
    --to=sem@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