From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id QBn1AXIkxma8YgEAe85BDQ:P1 (envelope-from ) for ; Wed, 21 Aug 2024 17:31:30 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id QBn1AXIkxma8YgEAe85BDQ (envelope-from ) for ; Wed, 21 Aug 2024 19:31:30 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=g8L7Xax4; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1724261489; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=n2qw2/KjB3qYYfnlCCISyhq9zgecNuGYucGqDDNj35s=; b=ZXX1+U82Ki8q4lgI9+QcxE+Y/52rI5cTex5ABiQUfkmr+GAgc+qxRXXnaiRKNgaol+A5Yo wmj7TR6RF0gCPksfLoE6Zah9ZHaygINKnegkaQGH4FiekiB+pSpN8WGbMX/KeO67RB2/+i OJI8ysdm8lb2k3+d4BTkuNAs8Jsq9K6s5+dHkKLITv6ttoESqcAlNI756VlDTO8X1JqQ9Y LTvuoPIfwDPdwTVlqjrFkTZK0uHucyKp1zAZp80MROSAnRMVoQdXoyyDXGkEO21Lp3c8VA lMt7gSkDRPyM/M7rGunxItFcQODj5RlmwCuhVNqiI6wLEAdqVGlYX63f/SlQaw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=g8L7Xax4; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1724261489; a=rsa-sha256; cv=none; b=t0km7lgCYnfvCmYQKj9JBb517D3KmxgbONH6OVmG08TGSrSPxinRhXK+bnJrSnzqh3plDs 84oISNZhPuW7dVkzoNyyAY/4JFB49H7H7gOoCm2jWhVUkEZBglgu2mKgBMShc+oCESYay0 H6KJe9+eHHM6DldLplXotsLJ4AbLdWMyXUTlq3hnwpiO2T94FDerMinMaG1umb4c2d6+Co 8vvs+WmKHIEZZuaUk2Kdsiqr+gAC0nPfFOuTqXimiLACEDgdECg+fIPlmn/jEGwlDh78Br mu5wKLX3CBUPnDK5SHQtu0lf3q8HnZ6sIjCpbKua5xpdnKUq0EUphO4DaKDfsQ== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C99E368EE2 for ; Wed, 21 Aug 2024 19:31:29 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sgpAj-0005T9-JJ; Wed, 21 Aug 2024 13:31:01 -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 1sgpAh-0005Sr-21 for guix-devel@gnu.org; Wed, 21 Aug 2024 13:30:59 -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 1sgpAf-0005qG-Qi; Wed, 21 Aug 2024 13:30:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=n2qw2/KjB3qYYfnlCCISyhq9zgecNuGYucGqDDNj35s=; b=g8L7Xax4aMCupDxOuVI4 7WR9ZTDdqGVrpfgwvMAEwVdSBXUpPjwoheT7C3ix9gliry5hlNvYgGiIXN8Ik/iR4CVpvctpK0AJQ 4p9DeG7eFcDuEBcP+RbuP1BJhVapf2ZQqxoglOQQrVUvHE30FWYfirjI+ff8C7cMF1jSRuMIJW91q r5xdv0zDms83enATBKHJMo8lfUZN2Walgkwa7036E2VMZhWes6ePniBPCuvE1H1hH2YqzY9CzoYyZ y6yCtPabeLBxqm2ty34iz3p4HG6/lTmQp1ILivsMHjfmv32J0Fv7Yvm25umpt0GkEBMOCmRfW4/yb yq84Xi5Mv6D8ew==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Felix Lechner Cc: Attila Lendvai , Maya , guix-devel@gnu.org Subject: Re: Shepherd calendar event bug In-Reply-To: <871q2o9t8d.fsf@lease-up.com> (Felix Lechner's message of "Fri, 16 Aug 2024 12:13:06 -0700") References: <87a5je77f8.fsf@zenmaya.xyz> <877cea7cvf.fsf@gnu.org> <874j9el2r1.fsf@zenmaya.xyz> <8734oxw0yy.fsf@lease-up.com> <7bBOkABsh2UGPl3R44IG9ReG-7b5Cgp6oh4l-exc7kU948GaaYpzXSI4GoDhYEBrCy3xNlwATA07IUagy5nnWzb2hd4wvN0ebe058AEwkkY=@lendvai.name> <87v805bbwm.fsf@lease-up.com> <87v804a62w.fsf_-_@gnu.org> <871q2o9t8d.fsf@lease-up.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Quintidi 5 Fructidor an 232 de la =?utf-8?Q?R=C3=A9v?= =?utf-8?Q?olution=2C?= jour du Saumon X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Wed, 21 Aug 2024 19:30:53 +0200 Message-ID: <87h6bdrdf6.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: C99E368EE2 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -11.21 X-Spam-Score: -11.21 X-TUID: FFqOauh8mKAg Hi, Felix Lechner skribis: > It would be the first Sunday in each month. Oh right. Now fixed! https://git.savannah.gnu.org/cgit/shepherd.git/commit/?h=3Ddevel&id=3D71e= f394a38f1d78eada901cb4c111c7b2be84ab5 (Along with related issues.) > Also, here are some brief code questions, if you would be so kind to > entertain them: > > Why are the ranges for minutes here [1] 0..60 instead of 0..59, and 0..7 > for days-of-week instead of 0..6, please? Even if the intervals were to > exclude an end point [2] they seem inconsistent with 1..12 for the > months or 1..31 for days-of-month. Also, should the interval for the > hours be 0..23 instead of 0..60? > [1] https://git.savannah.gnu.org/cgit/shepherd.git/tree/modules/shepherd/= service/timer.scm?h=3Ddevel#n440 This code describes a count and a minimum value, rather than an actual range: 60 minutes and starting from 0, 12 months and starting from 1, etc. Thanks for your feedback! Ludo=E2=80=99.