From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Zefram Newsgroups: gmane.lisp.guile.bugs Subject: bug#21902: doc incorrectly describes Julian Date Date: Fri, 24 Jun 2016 19:01:43 +0100 Message-ID: <20160624180143.GI1170__31605.4753646769$1466791350$gmane$org@fysh.org> References: <20151113125813.GM13455@fysh.org> <87eg7mcxgb.fsf@pobox.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="9jxsPFA5p3P2qPhR" X-Trace: ger.gmane.org 1466791350 18691 80.91.229.3 (24 Jun 2016 18:02:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 24 Jun 2016 18:02:30 +0000 (UTC) To: 21902@debbugs.gnu.org, guile-devel@gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Fri Jun 24 20:02:22 2016 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bGVQq-0006z0-6N for guile-bugs@m.gmane.org; Fri, 24 Jun 2016 20:02:20 +0200 Original-Received: from localhost ([::1]:45316 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGVQp-0002S9-CR for guile-bugs@m.gmane.org; Fri, 24 Jun 2016 14:02:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35019) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGVQg-0002Rl-HY for bug-guile@gnu.org; Fri, 24 Jun 2016 14:02:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bGVQX-0006PZ-Vv for bug-guile@gnu.org; Fri, 24 Jun 2016 14:02:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42283) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGVQX-0006PU-Se for bug-guile@gnu.org; Fri, 24 Jun 2016 14:02:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bGVQX-0003Ey-M4 for bug-guile@gnu.org; Fri, 24 Jun 2016 14:02:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Zefram Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Fri, 24 Jun 2016 18:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21902 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Original-Received: via spool by 21902-submit@debbugs.gnu.org id=B21902.146679130812437 (code B ref 21902); Fri, 24 Jun 2016 18:02:01 +0000 Original-Received: (at 21902) by debbugs.gnu.org; 24 Jun 2016 18:01:48 +0000 Original-Received: from localhost ([127.0.0.1]:54620 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bGVQJ-0003EV-Q0 for submit@debbugs.gnu.org; Fri, 24 Jun 2016 14:01:47 -0400 Original-Received: from river.fysh.org ([87.98.248.19]:58815 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bGVQJ-0003EO-1s for 21902@debbugs.gnu.org; Fri, 24 Jun 2016 14:01:47 -0400 Original-Received: from zefram by river.fysh.org with local (Exim 4.84_2 #1 (Debian)) id 1bGVQF-0002Gr-JQ; Fri, 24 Jun 2016 19:01:43 +0100 Content-Disposition: inline In-Reply-To: <87eg7mcxgb.fsf@pobox.com> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.org gmane.lisp.guile.bugs:8244 Archived-At: --9jxsPFA5p3P2qPhR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Andy Wingo wrote: >Would you like to propose a specific patch to the documentation? Sure. Patch attached. -zefram --9jxsPFA5p3P2qPhR Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=d0 --- a/doc/ref/srfi-modules.texi 2014-03-20 20:21:21.000000000 +0000 +++ b/doc/ref/srfi-modules.texi 2016-06-24 18:57:59.088243245 +0100 @@ -2461,8 +2461,8 @@ @cindex UTC @cindex TAI This module implements time and date representations and calculations, -in various time systems, including universal time (UTC) and atomic -time (TAI). +in various time systems, including Coordinated Universal Time (UTC) +and International Atomic Time (TAI). For those not familiar with these time systems, TAI is based on a fixed length second derived from oscillations of certain atoms. UTC @@ -2494,18 +2494,12 @@ @cindex julian day @cindex modified julian day Also, for those not familiar with the terminology, a @dfn{Julian Day} -is a real number which is a count of days and fraction of a day, in -UTC, starting from -4713-01-01T12:00:00Z, ie.@: midday Monday 1 Jan -4713 B.C. A @dfn{Modified Julian Day} is the same, but starting from -1858-11-17T00:00:00Z, ie.@: midnight 17 November 1858 UTC. That time -is julian day 2400000.5. - -@c The SRFI-1 spec says -4714-11-24T12:00:00Z (November 24, -4714 at -@c noon, UTC), but this is incorrect. It looks like it might have -@c arisen from the code incorrectly treating years a multiple of 100 -@c but not 400 prior to 1582 as non-leap years, where instead the Julian -@c calendar should be used so all multiples of 4 before 1582 are leap -@c years. +is a real number which is a count of days and fraction of a day, in UT, +starting from -4713-11-24T12:00:00Z, ie.@: midday UT on Monday 24 November +4714 BC in the proleptic Gregorian calendar (1 January 4713 BC in the +proleptic Julian calendar). A @dfn{Modified Julian Day} is the same, +but starting from 1858-11-17T00:00:00Z, ie.@: midnight UT on Wednesday +17 November AD 1858. That time is julian day 2400000.5. @node SRFI-19 Time --9jxsPFA5p3P2qPhR--