From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 0GJ1JRX19WP82QAAbAwnHQ (envelope-from ) for ; Wed, 22 Feb 2023 11:57:25 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id II1QJRX19WMc1AAAauVa8A (envelope-from ) for ; Wed, 22 Feb 2023 11:57:25 +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 5A582106F4 for ; Wed, 22 Feb 2023 11:57:25 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="ZQH/3ofA"; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1677063445; a=rsa-sha256; cv=none; b=aoIlDemCbYLP4sHAOlb44So7cS0Umhm+dg+le0cEJCd7GIqrwl1ke1IOJECVlH7Ltarvtv nORCVidiIOZ12d2D3Zc/vbfwx2D6VsOM731z0SV8g1Zmmgkt6nLbYXxwjCNinU0bt7Z9+Z Pd9MV1d6jciHG2gDI+onaIhfyWLxtkEU7KcsMjuJ9TYuKYyfw3Zve48aP/LxAUhpCN/8Hz fNWY4SvyeI5SDG1waVM70wRFMwBApPs/NztdEvvYKSBtkPZCos3/dzcpi4YrkcEvqFylQ5 miIFyfkpxNqkHgMgOgHB96FSQA9WfA/jpFFoapuewwOxMqf0vm0mhJJ31cyfTw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="ZQH/3ofA"; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1677063445; 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=GmqW4+UzXQUOIJBgG2l7IX970yhJpozqRKbBZcSkzEY=; b=ki21otyA/XZ6TzDVBGYBHguEJhrX6NhcFYSjbXEx22lZDOVaDrdtRWWTLQloA677P69YPm JxIfqE2yGJIXexBmLAK8xCHDUy7ZNyDuFfJ0kON3PgLqCLvQk2hWjSJexX1YCVYT9/noyz 2QD4SurAxJryCZo2TXjF+jQirXPegcLxp/GzZGR1eb6Z4tYP3y5T5E9hMQOm0D0Jbzj+UP treM06HSGnAsPdAOuhUUw0GzuAQzHhRUZ9D4Q7qo673Lb6DLlw2RnJB/K7vvcxGhBYSnlb vXUT1fkew3Y2RT3snRYHuOEQyO63/VFcPalMFFLAarF/ODn0JuZgO+wLhIeIvg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pUmnj-0001CC-I9; Wed, 22 Feb 2023 05:56:43 -0500 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 1pUmnh-0001Bo-Qt for emacs-orgmode@gnu.org; Wed, 22 Feb 2023 05:56:42 -0500 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pUmnf-0001zh-Ne for emacs-orgmode@gnu.org; Wed, 22 Feb 2023 05:56:41 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 7D8FC2404D9 for ; Wed, 22 Feb 2023 11:56:35 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1677063397; bh=6V8rckcQmKRRFI9zAA5rPNEOdRYEf+Fq49HfLRXtI/U=; h=From:To:Cc:Subject:Date:From; b=ZQH/3ofAbjjQvqLuaZxLDm7bbRS4hGbkOIrXgHaWxasfNbA7if1Qxuw4Huy4059y8 fw6gdVL5TM5UYmAq+lhccr/ltKdNY3wCYaY2EgQFzpuT8ZM79HHZKjMsNwQfOgrzti t0JgoJwk44VJX8BD/fVj9epvpEQiPyaQeBn/pXpVWwW6TzHFDzJyuNxvp2Iua1VbgX YWddiWrdKgFCwfhP95vuz6b9LnMJgVM41IhonmK//qdEzOXpcIIAjMoG9yOKRWwoG9 s34ASOsVlMi+EIHqQTLbUIW4cKhtISvbVgrbo6SjYbRXLczo9EVebVMhQlDuKOkpYK tKe/2GYvlPLwQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4PMCl62DYTz9rxB; Wed, 22 Feb 2023 11:56:33 +0100 (CET) From: Ihor Radchenko To: Daniel Ortmann Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] updating existing org date with time always sets time to 0:00 [9.6.1 (release_9.6.1-262-gd94f40 @ /home/dortmann/src/git-org-mode/lisp/)] In-Reply-To: References: Date: Wed, 22 Feb 2023 10:57:16 +0000 Message-ID: <87k00ac6ib.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.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, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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: X-Migadu-Queue-Id: 5A582106F4 X-Spam-Score: -7.95 X-Migadu-Spam-Score: -7.95 X-Migadu-Scanner: scn0.migadu.com List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-TUID: r3yRud4Lv528 Daniel Ortmann writes: > file org-plain-date-to-date-time.org has: > > * plain date > C-c ! gives: > [2023-02-21 Tue] > * updating plain date > C-c ! followed by C-u C-! gives: > [2023-02-21 Tue 00:00] > * date-time > C-u C-c ! gives: > [2023-02-21 Tue 14:13] > > I expected that updating an existing date with C-u C-c ! would produce > the same result as creating a new date-time. When point is at existing timestamp, C-c ! tries to take the time of that timestamp as default. To force today's date and time, you can use C-u C-u C-c ! -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at