From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id sMFVKcamLGKfeQAAgWs5BA (envelope-from ) for ; Sat, 12 Mar 2022 14:57:26 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 8OPDIcamLGLJggAAG6o9tA (envelope-from ) for ; Sat, 12 Mar 2022 14:57:26 +0100 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 400CF3A7A7 for ; Sat, 12 Mar 2022 14:57:26 +0100 (CET) Received: from localhost ([::1]:37272 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nT2FI-0005tX-Og for larch@yhetil.org; Sat, 12 Mar 2022 08:57:24 -0500 Received: from eggs.gnu.org ([209.51.188.92]:51490) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nT2Ep-0005tK-Aw for emacs-orgmode@gnu.org; Sat, 12 Mar 2022 08:56:55 -0500 Received: from [2607:f8b0:4864:20::52c] (port=38497 helo=mail-pg1-x52c.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nT2En-00062D-OJ for emacs-orgmode@gnu.org; Sat, 12 Mar 2022 08:56:55 -0500 Received: by mail-pg1-x52c.google.com with SMTP id 132so9849723pga.5 for ; Sat, 12 Mar 2022 05:56:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=wsINnVy7IlWvcwdHZXBPsIzYdKL0tfE9QmhS2Axz+7g=; b=lH1xYS8HHsSTiZwDXdK/ubql8QmIjETaM0GTZzG5dvnZ//igrY21M99Uupv0OqCSk1 UMTPCsReMR78pQCjDC51XPYJFQ/BPNcXuVH7WpadcxWWq//+AmNSyWR6m3Yrm1aZUgrf C2SiDWdo8LcuSAT0g29xwyOri9bh0DGZMYeSc1yCbteJYZeEPoUbLYGLwdoeuduHjZig ckt2sOenwRMKlnsES3EHwfcaRMMwzOK22+CkrYO1lo7XL+SYCpm5ksZnrDyjAUaa/FAd TYKdzRuWTBSkG0C1qHCq67qPnbvApib6CPx8adSzxl4i9l8FWoa1thcQRKjm3hqQLl+k 5PTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=wsINnVy7IlWvcwdHZXBPsIzYdKL0tfE9QmhS2Axz+7g=; b=QbyTEPNWmSkoxyCcQofsoqd6ulEBbSh/S29q4fwXmAKCBLBtMTSKd95sYGnNr83DRN D+JVAdakwLvwJ3Yg0ywOy5vc+17SOH7erfPF8Mer1p916gu2CgKeLzyPJkPt4TJxor7j Pho4Rl87WCZl11sB7zQfAzw7ZiC9kgjgstTNaXoj21O++UNXg9zuZ5rI7LIOHsz3TA2T A/HDN0H3OUEnJyv7ZFfX1EUAnIhZQG4CRSMH7TpDEOqAx0Rf5rJzyuEK759ClkXA2RJ8 toEahj6PnbC265GtypzWZaTlBWvwe09IN8QUIpB96qbthcP8a/Z726SBf+VdYmowjovU +E7A== X-Gm-Message-State: AOAM530XhaKO4jkzWwtDzgrvr2hK79Blf/WT+P4sTHXbw/nHGk/ptji0 zRo3xBjaP5V5zAjNOUTigAs= X-Google-Smtp-Source: ABdhPJyC1BW0/AlvOu7r6acLYMpZ7ecCji/xIu+DDVoa0L5WypH6dkcTPZU3K6CpEslNJ/LNugd9Ww== X-Received: by 2002:aa7:968b:0:b0:4f6:fa51:c239 with SMTP id f11-20020aa7968b000000b004f6fa51c239mr15178075pfk.48.1647093412253; Sat, 12 Mar 2022 05:56:52 -0800 (PST) Received: from localhost ([192.161.177.252]) by smtp.gmail.com with ESMTPSA id h6-20020a636c06000000b00363a2533b17sm11427428pgc.8.2022.03.12.05.56.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 12 Mar 2022 05:56:51 -0800 (PST) From: Ihor Radchenko To: Jeffrey DeLeo Subject: Re: [BUG] Scheduled task shows up wrong day in agenda [9.5.2 (release_9.5.2-22-g33543d @ /usr/local/share/emacs/29.0.50/lisp/org/)] In-Reply-To: <87czir8fca.fsf@gmail.com> References: <874k4c4hjk.fsf@gmail.com> <87czire33k.fsf@localhost> <87czir8fca.fsf@gmail.com> Date: Sat, 12 Mar 2022 21:56:17 +0800 Message-ID: <871qz7e0la.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::52c (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::52c; envelope-from=yantar92@gmail.com; helo=mail-pg1-x52c.google.com X-Spam_score_int: -3 X-Spam_score: -0.4 X-Spam_bar: / X-Spam_report: (-0.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1647093446; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=wsINnVy7IlWvcwdHZXBPsIzYdKL0tfE9QmhS2Axz+7g=; b=Ueoy6bdBRV6yTXDYITJNIY4Aj641jZqsUlTPgTqjjhssz1Zp7582A1SVCF0LjKqSx9CDLX HlQCOX8e97jYOQ6NkcaVF+oFpiZwIZt+Yjlm9obCbNzbsnAbPq1OdoBuaH6xeKbFYsh3pJ CnBi+vMsRADpyyys4whQjRUj/g36HfiQaPWRE1LB5wH59tHs/L0jzmR5Hjbx7TeY3ws38c fVvaoerS2dRhoCOCPXrUljcF6bzfXhrKIioUw8/eCokGrb28IllcN3AtfgXSWWShVgflAu ZCuKi9kS6HA8Sgkb0Khrmh154Tggt8JviHxbxdjlOWuBKx832HPDka43KVP53g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1647093446; a=rsa-sha256; cv=none; b=nrQW1qym15ok8SZpuQbHPbcesse/7siU8FX1PchC06jsHc2KodJpA2cvxWPY/W9ZQMIIrI DMYCR6rsOZSGnEFzLxHyBuIaObWcHgqlxiB7C2ES8w0895nV6lX/LseWx0MR341gufXupO FB3QUpqsWW7w7uI4/1lfq4InLfaGIiOfzxHzmEr9Th234crWnEoCK6ZQaz3n7M/nx0Ytd9 f8GawV+nfyneWABt74i0xKjHC+Xh1LtN5WPdo/Uib63CMDgit0keoOY0/vks+jTIjiqwMV D8OLM1TJ/fluxscmGFunYgycQDchBOQij2af+lK9q3Ik5DH7CKjiyJFqtQ92Wg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=lH1xYS8H; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -8.49 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=lH1xYS8H; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 400CF3A7A7 X-Spam-Score: -8.49 X-Migadu-Scanner: scn0.migadu.com X-TUID: 4BmZsJo3NSud Jeffrey DeLeo writes: > Save "foobar.org" and "testcase_startup.el" into a directory. Start > emacs in that directory as "emacs -Q -l testcase_startup.el". When emacs > comes up, hit "a" to get agenda. > > "foobar.org" has one task scheduled for Sunday. When I write this, it is > Saturday. Task is displayed in agenda for Saturday. > > Happy to investigate myself if you have suggestions of things I can look > at to track this down. > > (org-version) > "9.5.2" > > (emacs-version) > "GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version 1.16.0) > of 2022-03-09" I followed your steps and I got the following: Week-agenda (W10): Monday 7 March 2022 W10 Tuesday 8 March 2022 Wednesday 9 March 2022 Thursday 10 March 2022 Friday 11 March 2022 Saturday 12 March 2022 Sunday 13 March 2022 foobar: Scheduled: TODO Something I do not see any problem with agenda. M-x org-version Org mode version 9.5.2 (release_9.5.2-9-g7ba24c @ /usr/share/emacs/29.0.50/lisp/org/) M-x emacs-version GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, cairo version 1.16.0) of 2022-01-29 Can you try to update Emacs? From my experience, there are sometimes cryptic issues in Org, which disappear as you update Emacs from more recent master. Best, Ihor