From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, RCVD_IN_DNSWL_LOW autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 11685 invoked from network); 7 Oct 2020 16:35:06 -0000 Received: from lists1.math.uh.edu (129.7.128.208) by inbox.vuxu.org with ESMTPUTF8; 7 Oct 2020 16:35:06 -0000 Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.94) (envelope-from ) id 1kQCOw-001J1T-Dm; Wed, 07 Oct 2020 11:34:50 -0500 Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1kQCOs-001IzY-Lo for ding@lists.math.uh.edu; Wed, 07 Oct 2020 11:34:46 -0500 Received: from quimby.gnus.org ([95.216.78.240]) by mx2.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1kQCOr-000OQg-2t for ding@lists.math.uh.edu; Wed, 07 Oct 2020 11:34:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:Mime-Version:References :Message-ID:Date:Subject:From:To:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=/ZUhUPf9KM33vuPii6i8wOR083RsK3EWNqLRto70Wto=; b=kq8y0gdh+SDW/Qe2SL4VtTpmQo lYeHMx0THCrat/fnmH9Cku6r7McRlWNUw9r5B5mJsrpeJ+789Kt6OSqRA/0JjN8QYM3zy9C9gmavN TerQNj2/iERzBa51J5QWnScaUHORDhy2Hc8R+UixXn1BK9ecCwN3AIAwa3Yqj8gzeL1A=; Received: from static.214.254.202.116.clients.your-server.de ([116.202.254.214] helo=ciao.gmane.io) by quimby with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kQCOf-00089p-4u for ding@gnus.org; Wed, 07 Oct 2020 18:34:40 +0200 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1kQCOe-0008aK-9v for ding@gnus.org; Wed, 07 Oct 2020 18:34:32 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: ding@gnus.org From: Eric Abrahamsen Subject: Re: Specifying date _and_ time for a delayed article? Date: Wed, 07 Oct 2020 09:34:28 -0700 Message-ID: <87k0w2ro4r.fsf@ericabrahamsen.net> References: <87wo07w5zh.fsf@tullinup.koldfront.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cancel-Lock: sha1:ckwgDkD+RvC1T3RbqODKe8NQZyQ= List-ID: Precedence: bulk Adam Sjøgren writes: > When I press C-c C-j to delay an article, I'm prompted like this: > > "Target date (YYYY-MM-DD), time (hh:mm), or length of delay (units in mhdwMY): 3d" > > This is nice and flexible. In this particular case, I wanted to send an > article on a specific date _and_ time. > > So I tried entering "2021-07-14 17:03:30", and Gnus happily accepted > that. But if I look at the delayed article in nndraft:delayed, the > header is: > > X-Gnus-Delayed: Wed, 14 Jul 2021 08:00:00 +0200 > > Hmmm. > > Wouldn't it make more sense to either use the date and time entered, OR > at least reject the string as invalid, rather than changing the time to > 08:00:00? > > What do you think, patches accepted? In my opinion we should be trying to find and use some other, Emacs-wide date-time prompt function, rather than writing something Gnus-specific. Org also ships with Emacs, and it has very good datetime prompts, but it could be a little too tied to Org, I haven't actually looked at it. Anyway, maybe that function doesn't even exist yet, but I think that would be a better approach!