From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.2.5 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:References:Subject:To:MIME-Version:From:Date:Message-ID; bh=VklHdQhhWBcrxD9z+pj+CEdTnIjoDaBCYBVmWwSwHdI=; b=LgtXMbwWLQnGJTVbxWn0wXp6cniw2zJCFwWVD18IDlGug8MO25OX5HNDq9OZbMaY1tcxwoUTXyxWvhXsr5zhyP/2mHjYG0uTQ+3NCuTkQ46rkPzZovCxNRm03hL3xped; Message-ID: <4F1477E4.4020606@mail.ru> Date: Mon, 16 Jan 2012 23:17:56 +0400 From: Vladimir Karpinsky User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 MIME-Version: 1.0 To: community@lists.altlinux.org References: <4F144486.7000004@mail.ru> <20120116160630.GA8965@conflux.foliandre> <4F1451B0.8030104@mail.ru> <20120116184753.GB8965@conflux.foliandre> In-Reply-To: <20120116184753.GB8965@conflux.foliandre> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit X-Antivirus: avast! (VPS 120116-0, 16.01.2012), Outbound message X-Antivirus-Status: Clean X-Mru-NR: 1 X-Mru-UID: 2184840 X-Spam: Not detected X-Mras: Ok X-Mru-Karma: 0 Subject: Re: [Comm] TZ 0 X-BeenThere: community@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Community general discussions List-Id: ALT Linux Community general discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jan 2012 19:18:02 -0000 Archived-At: List-Archive: List-Post: P.S. У меня одна программа при запуске предупреждает об отсутствии файла /usr/local/lib/leapseconds. Судя по всему, файл должен быть вида: # @(#)leapseconds 7.12 # Allowance for leapseconds added to each timezone file. # The International Earth Rotation Service periodically uses leap seconds # to keep UTC to within 0.9 s of UT1 # (which measures the true angular orientation of the earth in space); see # Terry J Quinn, The BIPM and the accurate measure of time, # Proc IEEE 79, 7 (July 1991), 894-905. # There were no leap seconds before 1972, because the official mechanism # accounting for the discrepancy between atomic time and the earth's rotation # did not exist until the early 1970s. # The correction (+ or -) is made at the given time, so lines # will typically look like: # Leap YEAR MON DAY 23:59:60 + R/S # or # Leap YEAR MON DAY 23:59:59 - R/S # If the leapsecond is Rolling (R) the given time is local time # If the leapsecond is Stationary (S) the given time is UTC # Leap YEAR MONTH DAY HH:MM:SS CORR R/S Leap 1972 Jun 30 23:59:60 + S Leap 1972 Dec 31 23:59:60 + S Leap 1973 Dec 31 23:59:60 + S Leap 1974 Dec 31 23:59:60 + S Leap 1975 Dec 31 23:59:60 + S Leap 1976 Dec 31 23:59:60 + S Leap 1977 Dec 31 23:59:60 + S Leap 1978 Dec 31 23:59:60 + S Leap 1979 Dec 31 23:59:60 + S Leap 1981 Jun 30 23:59:60 + S Leap 1982 Jun 30 23:59:60 + S Leap 1983 Jun 30 23:59:60 + S Leap 1985 Jun 30 23:59:60 + S Leap 1987 Dec 31 23:59:60 + S Leap 1989 Dec 31 23:59:60 + S Leap 1990 Dec 31 23:59:60 + S Leap 1992 Jun 30 23:59:60 + S Leap 1993 Jun 30 23:59:60 + S Leap 1994 Jun 30 23:59:60 + S Leap 1995 Dec 31 23:59:60 + S Leap 1997 Jun 30 23:59:60 + S Leap 1998 Dec 31 23:59:60 + S Хочется найти с текущим годом и на некоторую перспективу. Я поискал, но пока не нашёл. 16.01.2012 22:47, Dmitry Chistikov пишет: > Дополнение: в файле Theory (часть документации tzdata) отмечено, что > в POSIX секунд координации (leap seconds) нет, однако база данных tzdata > содержит информацию о них, а формат файлов временных зон > в/usr/share/zoneinfo/ позволяет ее хранить (см. файлы tzcode/tzfile.* > в исходниках tzdata). Использование и неиспользование этой информации дает > соответственно подкаталоги right и posix (см. также REDO в tzcode/Makefile). -- С уважением, Владимир.