From unknown Tue Jun 17 20:42:41 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#66502 <66502@debbugs.gnu.org> To: bug#66502 <66502@debbugs.gnu.org> Subject: Status: 30.0.50; [PATCH; DOC] time-to-days and days-to-time use different epochs Reply-To: bug#66502 <66502@debbugs.gnu.org> Date: Wed, 18 Jun 2025 03:42:41 +0000 retitle 66502 30.0.50; [PATCH; DOC] time-to-days and days-to-time use diffe= rent epochs reassign 66502 emacs submitter 66502 Bob Rogers severity 66502 normal tag 66502 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 12 13:24:12 2023 Received: (at submit) by debbugs.gnu.org; 12 Oct 2023 17:24:12 +0000 Received: from localhost ([127.0.0.1]:44223 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qqzPw-0004qd-3L for submit@debbugs.gnu.org; Thu, 12 Oct 2023 13:24:12 -0400 Received: from lists.gnu.org ([2001:470:142::17]:33880) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qqzPs-0004qO-Qb for submit@debbugs.gnu.org; Thu, 12 Oct 2023 13:24:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qqzPQ-0001Dv-Rx for bug-gnu-emacs@gnu.org; Thu, 12 Oct 2023 13:23:41 -0400 Received: from mail-pj1-x1034.google.com ([2607:f8b0:4864:20::1034]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qqzPO-0003Kz-Q9 for bug-gnu-emacs@gnu.org; Thu, 12 Oct 2023 13:23:40 -0400 Received: by mail-pj1-x1034.google.com with SMTP id 98e67ed59e1d1-278f0f565e2so957833a91.2 for ; Thu, 12 Oct 2023 10:23:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rgrjr-com.20230601.gappssmtp.com; s=20230601; t=1697131417; x=1697736217; darn=gnu.org; h=subject:to:date:message-id:content-transfer-encoding:mime-version :from:from:to:cc:subject:date:message-id:reply-to; bh=p8we1ats35y/ZmiPVtRRof27ef98g9EGdmRtc/i6Wm8=; b=bO8Ybj0me6wb6l28llDEZKvHaPIMLmOB9ZGhKgZsal7mpxNssCp7mvIKBgOfdCxprK 3i4AI4zJJj3T6i1d1dhTgSOWuYdWkF/sMMj5wz7CObWk8tfM+Kyyb3L05IlQauWdzOEi Q8Q9XZgp0OCvg5bMDO/2BVcUHhbAdObFXZNYE7UHTdKSq0+J54WWefAMteIBO9UtauE2 jA45317oWX8H+OiokACs7pYTx+cGmlpP/Z+PmcjJdtP5yOyALsVuCQPLlGiGW1JfgFEc SqKrwky6vYkFXuoYxiNPWmKbQmqsZnOROv+IOq6TzjOyHplJ2+XT173+lMHlAIUpJCqC WYQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697131417; x=1697736217; h=subject:to:date:message-id:content-transfer-encoding:mime-version :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=p8we1ats35y/ZmiPVtRRof27ef98g9EGdmRtc/i6Wm8=; b=L4k+03VFFpGepz8/VTwj3USL51lQmSCQeyrXX4kU2Ut082Vw9yXxj6PYpAtfuQ8kjM BE/dYK03Rag3mCoon0sDyYAbqxtv23FddewsfMkv4QDvFw9lBhawdUVCLgbhdokc7VLT OLiKZRtZ0qFW42tEHqS/w5O+ib5KxkeAu60Kk7ruPM5eK+mqpkGtdCnXqWTWcPJ6axVZ cyedSFZD6mzCZM0IgrNRmiJTLVFMaYVcPVwZnhg6djabTR6xhlwAMule9qHooLwin0E5 fEFvIaMT4MQYB3dnZeRATOTDebrFGLPnHpuQ/RWDyroMQs5oqrfggIIFxBIVbX5Ihxs7 p6pg== X-Gm-Message-State: AOJu0Yxi2z3Nzm5d04jCux7e+9+UPbIksYeMHKTKXtCeP2vsGYJjLvK3 Q5GfAjGXM9ki0cwfOo8w4OJrQA== X-Google-Smtp-Source: AGHT+IGttiyTU7qn772k2OQOl1ekezp4uod6wAJ2Pf15n6VNeuqkSSBqfILM/xg7SKCjZjR5ISfBLg== X-Received: by 2002:a17:90b:1b50:b0:274:8041:94c with SMTP id nv16-20020a17090b1b5000b002748041094cmr21580026pjb.13.1697131416678; Thu, 12 Oct 2023 10:23:36 -0700 (PDT) Received: from orion.rgrjr.com ([2600:1700:7c2c:e000::22]) by smtp.gmail.com with ESMTPSA id 28-20020a17090a001c00b0027d0af2e9c3sm2272839pja.40.2023.10.12.10.23.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 10:23:36 -0700 (PDT) From: Bob Rogers MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="L+EZYRGrEa" Content-Transfer-Encoding: 7bit Message-ID: <25896.11159.190340.117173@orion.rgrjr.com> Date: Thu, 12 Oct 2023 10:23:35 -0700 To: bug-gnu-emacs@gnu.org Subject: 30.0.50; [PATCH; DOC] time-to-days and days-to-time use different epochs X-Mailer: VM 8.2.0b under 30.0.50 (x86_64-pc-linux-gnu) Received-SPF: none client-ip=2607:f8b0:4864:20::1034; envelope-from=rogers@rgrjr.com; helo=mail-pj1-x1034.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --L+EZYRGrEa Content-Type: text/plain; charset=us-ascii Content-Description: message body text Content-Transfer-Encoding: 7bit Imagine my surprise when converting back using days-to-time gave me something almost two millenia in the future. Of course, the problem was that days-to-time uses a different epoch from time-to-days. The fix was pretty easy . . . and then I discovered all the code that depends on the existing behavior. So I offer the following modest documentation patch, in the hope that others will be spared any similar confusion. -- Bob Rogers http://www.rgrjr.com/ --L+EZYRGrEa Content-Type: text/x-patch; name="rgr-days-to-time-doc-1.patch" Content-Description: Content-Disposition: inline; filename="rgr-days-to-time-doc-1.patch" Content-Transfer-Encoding: 7bit diff --git a/doc/lispref/os.texi b/doc/lispref/os.texi index 5400d492f0a..2f6bb4e190c 100644 --- a/doc/lispref/os.texi +++ b/doc/lispref/os.texi @@ -2127,6 +2127,14 @@ Time Calculations The operating system limits the range of time and zone values. @end defun +@defun days-to-time days +This is not quite the inverse of the @code{time-to-days} function, as +it uses the Emacs epoch (instead of the year 1) for historical +reasons. To get the inverse, subtract @code{(time-to-days 0)} from +@var{days}, in which case @code{days-to-time} may return @code{nil} if +@var{days} is negative. +@end defun + @defun time-to-day-in-year time-value This returns the day number within the year corresponding to @var{time-value}, assuming the default time zone. diff --git a/lisp/calendar/time-date.el b/lisp/calendar/time-date.el index 9cbe8e0f53c..786134d8ac5 100644 --- a/lisp/calendar/time-date.el +++ b/lisp/calendar/time-date.el @@ -181,7 +181,10 @@ seconds-to-time ;;;###autoload (defun days-to-time (days) - "Convert DAYS into a time value." + "Convert Emacs-epoch DAYS into a time value. +Note that this does not use the same epoch as time-to-days; you +must subtract (time-to-days 0) first to convert, and may get nil +if the result is before the start." ;; FIXME: We should likely just pass `t' to `time-convert'. ;; All uses I could find in Emacs, GNU ELPA, and NonGNU ELPA can handle ;; any valid time representation as return value. @@ -243,7 +246,7 @@ time-to-day-in-year ;;;###autoload (defun time-to-days (time) - "The absolute date corresponding to TIME, a time value. + "The absolute pseudo-Gregorian date for TIME, a time value. The absolute date is the number of days elapsed since the imaginary Gregorian date Sunday, December 31, 1 BC." (let* ((tim (decode-time time)) --L+EZYRGrEa-- From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 14 05:02:42 2023 Received: (at 66502-done) by debbugs.gnu.org; 14 Oct 2023 09:02:42 +0000 Received: from localhost ([127.0.0.1]:47874 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qraXh-0008MF-RQ for submit@debbugs.gnu.org; Sat, 14 Oct 2023 05:02:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59904) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qraXg-0008M0-8z for 66502-done@debbugs.gnu.org; Sat, 14 Oct 2023 05:02:40 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qraXD-0001id-9S; Sat, 14 Oct 2023 05:02:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=6PrX/IBf/AFw2smLInLjrY/JrQBXxqia9YKntciYM5E=; b=CoRkeyPEmbN/ CbEQCXi3uBHXAv6ed/bd4jFSK0PGCrA4ifiZzU8l1IY11qE9HfeBAMDRda3rb/KDt/uABLj1C366r vBT5fWeQKZ2snOfOPxzyGg7LYNclT8HStYxISTbPS48brJLY+lxNyE/ur6S5wJy2DDA82Dn4pnz7l e+K01DLMbdq4h9JoDOQWbPNCuUIBJOQFVKh7qg0uHS42rMYqMaQ0KptqETnCgTDuFjZ7W38WEwCjN vYDk3grtQCQvV2nFywbGCPD7/CKvX60i7JQrUwVgGWgho4ymMomtuhJPTWYN6eLaKUGxZ4L9+ofV/ MZYtVobsaEzUena5OdhVPQ==; Date: Sat, 14 Oct 2023 12:02:10 +0300 Message-Id: <835y39shkd.fsf@gnu.org> From: Eli Zaretskii To: Bob Rogers In-Reply-To: <25896.11159.190340.117173@orion.rgrjr.com> (message from Bob Rogers on Thu, 12 Oct 2023 10:23:35 -0700) Subject: Re: bug#66502: 30.0.50; [PATCH; DOC] time-to-days and days-to-time use different epochs References: <25896.11159.190340.117173@orion.rgrjr.com> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 66502-done Cc: 66502-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Bob Rogers > Date: Thu, 12 Oct 2023 10:23:35 -0700 > > Imagine my surprise when converting back using days-to-time gave me > something almost two millenia in the future. Of course, the problem was > that days-to-time uses a different epoch from time-to-days. The fix was > pretty easy . . . and then I discovered all the code that depends on the > existing behavior. So I offer the following modest documentation patch, > in the hope that others will be spared any similar confusion. Thanks, installed on the emacs-29 branch, and closing the bug. Please in the future accompany the patches by a ChangeLog-style commit log message, it makes the patches easier to install. From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 14 10:20:22 2023 Received: (at 66502-done) by debbugs.gnu.org; 14 Oct 2023 14:20:22 +0000 Received: from localhost ([127.0.0.1]:50063 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qrfV7-0005VT-O1 for submit@debbugs.gnu.org; Sat, 14 Oct 2023 10:20:21 -0400 Received: from mail-pl1-x633.google.com ([2607:f8b0:4864:20::633]:45122) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qrfV3-0005Ss-FA for 66502-done@debbugs.gnu.org; Sat, 14 Oct 2023 10:20:20 -0400 Received: by mail-pl1-x633.google.com with SMTP id d9443c01a7336-1c871a095ceso23865085ad.2 for <66502-done@debbugs.gnu.org>; Sat, 14 Oct 2023 07:19:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rgrjr-com.20230601.gappssmtp.com; s=20230601; t=1697293188; x=1697897988; darn=debbugs.gnu.org; h=references:in-reply-to:subject:cc:to:date:message-id :content-transfer-encoding:mime-version:from:from:to:cc:subject:date :message-id:reply-to; bh=+iCyW9suQEqnnoeNKSSmdedq5Da5J0U9ApSO5a+I8/o=; b=XZTkiOSdoaS3N+fH8sCO5xucw3U53p+7GZCmdURItj42UUWVibsQrjtqCcCBvFoFHy gviHIqZGZ8cudLaH1GD7hepMeYPNIIek7rhyPk6TEnOIxKm73itDYwYrJvDy9WuOu//M jUp/FwNEly61U9mnD72NIei9Bdi0LRHxstLlptZadWxzxi4wbpczNNn2tlnOyB4aGrbF /4Sep6PydJbmtu//+gSbjtbtTgdU4Fqh8wKVL571Qwx2N9A0kN1yhcrrTJb0B3jiAEa9 ogO+0PusEgUX03MqM4FXyGf9WVqEuh4w3ixMcxAjWsZ4kwRUIutNPVxpIvYPzp4n/Y6q Ob7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697293188; x=1697897988; h=references:in-reply-to:subject:cc:to:date:message-id :content-transfer-encoding:mime-version:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=+iCyW9suQEqnnoeNKSSmdedq5Da5J0U9ApSO5a+I8/o=; b=E1hzNVdueNVLQisjphhJGp0vciDX9BtNDE9QGdaFfrUa4AkG5fxxEW0ar9iXlPd4Ek v1G/llPwDFNt8ERkb5PnPobwuxyt3q0N5noLkEvqBTe+yKBGds0at336vkOsAy7Z087M wBiRLn1gP6aBh2vx4rPPqEsGd1lk4gI9WRuSFjQxspkzlwAiNQjU2lZwO2mcVt7yFlhs WbalvfxJmhllYlKBLJVON1z1hrSn+Gf3K3nP4qXUXfoPi7HROgmCXgLH3CwOIytaG4Uu nw+8UZa3d5whmoYYWgd/gjvY8agOfLGbtU0Z3XSsQKR5YZ03SmIU4x0rCdWO3peLKeZv mG+g== X-Gm-Message-State: AOJu0YxdCQLoShEy8FMlWHXzFO643lXxMS8l7ajVu0Q/Kh0QHSyDYe3k cPKTZ6VUmqMWs0hu8kQWmESamQ== X-Google-Smtp-Source: AGHT+IFoTlfjrGSYh5kDH75meRUBoR67Knbu6rhRy3ZFhgbpLdOwh1ZChfhzBA+D1P2lIPxeLQsKmA== X-Received: by 2002:a17:902:e54a:b0:1c6:2d13:5b74 with SMTP id n10-20020a170902e54a00b001c62d135b74mr31346193plf.55.1697293187866; Sat, 14 Oct 2023 07:19:47 -0700 (PDT) Received: from orion.rgrjr.com ([2600:1700:7c2c:e000::22]) by smtp.gmail.com with ESMTPSA id t16-20020a170902e85000b001bbd1562e75sm5594098plg.55.2023.10.14.07.19.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 Oct 2023 07:19:47 -0700 (PDT) From: Bob Rogers MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <25898.41858.258269.576742@orion.rgrjr.com> Date: Sat, 14 Oct 2023 07:19:46 -0700 To: Eli Zaretskii Subject: Re: bug#66502: 30.0.50; [PATCH; DOC] time-to-days and days-to-time use different epochs In-Reply-To: <835y39shkd.fsf@gnu.org> References: <25896.11159.190340.117173@orion.rgrjr.com> <835y39shkd.fsf@gnu.org> X-Mailer: VM 8.2.0b under 30.0.50 (x86_64-pc-linux-gnu) X-Spam-Score: -1.5 (-) X-Debbugs-Envelope-To: 66502-done Cc: 66502-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.5 (--) From: Eli Zaretskii Date: Sat, 14 Oct 2023 12:02:10 +0300 Thanks, installed on the emacs-29 branch, and closing the bug. Please in the future accompany the patches by a ChangeLog-style commit log message, it makes the patches easier to install. Oops; I didn't do that, because I thought doc patches didn't need a ChangeLog message. In hindsight, they need at least a commit message, so that was pretty silly. -- Bob From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 14 11:38:38 2023 Received: (at 66502-done) by debbugs.gnu.org; 14 Oct 2023 15:38:38 +0000 Received: from localhost ([127.0.0.1]:50220 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qrgir-000853-MI for submit@debbugs.gnu.org; Sat, 14 Oct 2023 11:38:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35418) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qrgip-00084p-NP for 66502-done@debbugs.gnu.org; Sat, 14 Oct 2023 11:38:36 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qrgiL-0005zY-42; Sat, 14 Oct 2023 11:38:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=Yuqh2Oh+zqOFAgdPRdi0yX/nSyp8g3GU/aNVtIlrGUY=; b=C7M8WvIpg4fy KuCCKaLw3TB72obfLbt5Pvq+qjCvHJOdega8M+yD89jpHRmb7AU3C5ERoUnd6sfEqC/47cHOn7Zpg f01zTKVxtuaCezAF56bPy6J4rNRSYxFxm1OQPH+jcGVvOksJJa7iimEuiFbVsCwSkR0givc5R4RRq Hk+UR4fVo+9NiXZLhZeFUaiWcbCDtqRNaZ+EV7foWzdxN6ThRhnURnzmm3OqkLfKv+a+COyfefWew MwHqoGm0MpzDlJOBMqOOOITtqVEngnQ7J2X5gF52NZQaJPWkKjPJ+FN+fUiOAN73vHxNEazptutFY zhEc5mp/s4uGvr9WUqM4ug==; Date: Sat, 14 Oct 2023 18:38:04 +0300 Message-Id: <83pm1hqko3.fsf@gnu.org> From: Eli Zaretskii To: Bob Rogers In-Reply-To: <25898.41858.258269.576742@orion.rgrjr.com> (message from Bob Rogers on Sat, 14 Oct 2023 07:19:46 -0700) Subject: Re: bug#66502: 30.0.50; [PATCH; DOC] time-to-days and days-to-time use different epochs References: <25896.11159.190340.117173@orion.rgrjr.com> <835y39shkd.fsf@gnu.org> <25898.41858.258269.576742@orion.rgrjr.com> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 66502-done Cc: 66502-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Bob Rogers > Date: Sat, 14 Oct 2023 07:19:46 -0700 > CC: 66502-done@debbugs.gnu.org > > From: Eli Zaretskii > Date: Sat, 14 Oct 2023 12:02:10 +0300 > > Thanks, installed on the emacs-29 branch, and closing the bug. > > Please in the future accompany the patches by a ChangeLog-style commit > log message, it makes the patches easier to install. > > Oops; I didn't do that, because I thought doc patches didn't need a > ChangeLog message. In hindsight, they need at least a commit message, > so that was pretty silly. Yes. What happened isn't a catastrophe: I typed the message for you. It just takes more time and more manual work, so is best avoided. TIA From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 15 22:03:32 2023 Received: (at 66502-done) by debbugs.gnu.org; 16 Oct 2023 02:03:32 +0000 Received: from localhost ([127.0.0.1]:55038 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qsCxA-0001BT-5w for submit@debbugs.gnu.org; Sun, 15 Oct 2023 22:03:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59474) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qsCx5-0001B9-Th for 66502-done@debbugs.gnu.org; Sun, 15 Oct 2023 22:03:30 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qsCwb-0005u7-RU; Sun, 15 Oct 2023 22:02:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=Date:References:Subject:In-Reply-To:To:From: mime-version; bh=71dMFu5nrHUN8YtyeI4CqUyVXCt3Youn0JXx5gIzRq4=; b=BSbIQpOLNNdd ZTVC3zAwmhIVYj6YHlGb2nvg5p53Y8/cobbZ3M3hY6sQRH3/syu4UOQvhH1TQk85Twrv+lJiNUUux HlayEixdewKdO9PhKZpMVHBmVI06jDeInjUeTxR3L81p1NJ72oCW5oAB/1aHdsmb2HlclLLgwGvaw 0CB8OD3CvNLHg8m59ye/QNqw9hpBXInU2kcmf0jKAgtocoTG3YWWvEoacJcbdD3hCI6RER1njACGp lNh/CoTOgspimauZI0wFy53OYNQw3T5cKq3iRDEb29T+SfdUvMKGFSWHrXS1yYgTxhLo0wtpLcskf iAbiGXo3fzOJwW9sdkEb9g==; Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1qsCwb-0005Se-6G; Sun, 15 Oct 2023 22:02:57 -0400 Content-Type: text/plain; charset=Utf-8 From: Richard Stallman To: Bob Rogers In-Reply-To: <25898.41858.258269.576742@orion.rgrjr.com> (message from Bob Rogers on Sat, 14 Oct 2023 07:19:46 -0700) Subject: Re: bug#66502: 30.0.50; [PATCH; DOC] time-to-days and days-to-time use different epochs References: <25896.11159.190340.117173@orion.rgrjr.com> <835y39shkd.fsf@gnu.org> <25898.41858.258269.576742@orion.rgrjr.com> Message-Id: Date: Sun, 15 Oct 2023 22:02:57 -0400 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 66502-done Cc: eliz@gnu.org, 66502-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: rms@gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > Oops; I didn't do that, because I thought doc patches didn't need a > ChangeLog message. In hindsight, they need at least a commit message, > so that was pretty silly. the commit message should list what entities you changed, added or deleted: that is, the doc strings of which functions or variables etc. And, in a general sense, what the change was about. Please look at doc string change logs in some of the principal files. -- Dr Richard Stallman (https://stallman.org) Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org) From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 16 01:39:53 2023 Received: (at 66502-done) by debbugs.gnu.org; 16 Oct 2023 05:39:53 +0000 Received: from localhost ([127.0.0.1]:55110 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qsGKV-0008KY-Tq for submit@debbugs.gnu.org; Mon, 16 Oct 2023 01:39:53 -0400 Received: from mail-pf1-x42d.google.com ([2607:f8b0:4864:20::42d]:60712) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qsGKP-0008KF-Ih for 66502-done@debbugs.gnu.org; Mon, 16 Oct 2023 01:39:50 -0400 Received: by mail-pf1-x42d.google.com with SMTP id d2e1a72fcca58-6b20a48522fso2007913b3a.1 for <66502-done@debbugs.gnu.org>; Sun, 15 Oct 2023 22:39:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rgrjr-com.20230601.gappssmtp.com; s=20230601; t=1697434755; x=1698039555; darn=debbugs.gnu.org; h=references:in-reply-to:subject:cc:to:date:message-id :content-transfer-encoding:mime-version:from:from:to:cc:subject:date :message-id:reply-to; bh=z9tu2qtNHx/xtbRnpRKz9Oag3E6N0oIpqge7FVt5weI=; b=1rXxjLJKRnHSqauyalfhoXnehxBqg/MEBbbxwmJLDSmS/XqUY0g+5w0P6Kt5pvl1eP arNd9pDn8TEdIjZ3lExA7fPU8WgKhBztH7K8ma7p4x9gdahP62SBtuZA/b8CHkH1YXTQ Q+377apFJgRZGhIygLq5qch8dBJ7/x8fdpY4bMGu1ibFPl/fbIAl7IwaJfxrOJA1cf4M IlL020QWEDqtKb3nZUrYsp7TPLZ2NiHIYbzZubvR6ZrZRAsQ3kat0QeTJaF7Qp9NyycA UPat4MwgpTYfZ1C1v8V9ngunbzGcokRaUFwBaKvBxkZSktHZnp6GgPHXYTjWnKP79qMd FKsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697434755; x=1698039555; h=references:in-reply-to:subject:cc:to:date:message-id :content-transfer-encoding:mime-version:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=z9tu2qtNHx/xtbRnpRKz9Oag3E6N0oIpqge7FVt5weI=; b=sxhAXRb/t8lZ0CyVymrIX3qo0WZCqmgyRq6T/87w6E6vKiDyKFLS8UJMRDU45OGCm6 fstuZM4TvoSxN4VPuRTR07Yo7aKZnflcsSYH8F139V+g7gvk1hyYjVUrDjn3dZWGtq92 vLkCga+VmCiD8rG4qs4SnSj7EW1zESqFjkIYtfsj3aaZvrXxB/w5qLXAygPUQRXh2TlQ ikbr2KLQJO1+N3DEUXDuz2tndctiOVlpAOubq81bHrkVVjErLlOrqmQq+dx809X707Fb V2glTpWo5uHs1FWVAApybnOG04Aw03OGDIHVDFSLgQprDRMuadRj90MFKUnjUA80F4/u b9zQ== X-Gm-Message-State: AOJu0Yyo/+sBB+diYDxxH4snHOmUFHfZAcmIVPbOZJztBu7f7zlVEaoF plgIcIfZm6ktH/9dyym7oho3nA== X-Google-Smtp-Source: AGHT+IGpaglgesbSdgiE/XE4/Xi2I30t1ttKv3M6PF7A+bUlm5p8AzHs/Wx5gytOUIIvUEyzBa1vfg== X-Received: by 2002:a05:6a20:8402:b0:15d:e8ce:145 with SMTP id c2-20020a056a20840200b0015de8ce0145mr36021277pzd.21.1697434754759; Sun, 15 Oct 2023 22:39:14 -0700 (PDT) Received: from orion.rgrjr.com ([2600:1700:7c2c:e000::22]) by smtp.gmail.com with ESMTPSA id a6-20020a170902ee8600b001c6187f2875sm7586179pld.225.2023.10.15.22.39.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Oct 2023 22:39:14 -0700 (PDT) From: Bob Rogers MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <25900.52352.872654.42863@orion.rgrjr.com> Date: Sun, 15 Oct 2023 22:39:12 -0700 To: rms@gnu.org Subject: Re: bug#66502: 30.0.50; [PATCH; DOC] time-to-days and days-to-time use different epochs In-Reply-To: References: <25896.11159.190340.117173@orion.rgrjr.com> <835y39shkd.fsf@gnu.org> <25898.41858.258269.576742@orion.rgrjr.com> X-Mailer: VM 8.2.0b under 30.0.50 (x86_64-pc-linux-gnu) X-Spam-Score: -1.5 (-) X-Debbugs-Envelope-To: 66502-done Cc: eliz@gnu.org, 66502-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.5 (--) From: Richard Stallman Date: Sun, 15 Oct 2023 22:02:57 -0400 [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > Oops; I didn't do that, because I thought doc patches didn't need a > ChangeLog message. In hindsight, they need at least a commit message, > so that was pretty silly. the commit message should list what entities you changed, added or deleted: that is, the doc strings of which functions or variables etc. And, in a general sense, what the change was about. Please look at doc string change logs in some of the principal files. Thank you, Richard; I realize what I should have done, and how I should have done it, I just spaced out in this instance. -- Bob From unknown Tue Jun 17 20:42:41 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 13 Nov 2023 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator