From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id +KaELCHjKmV09AAAauVa8A:P1 (envelope-from ) for ; Sat, 14 Oct 2023 20:51:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id +KaELCHjKmV09AAAauVa8A (envelope-from ) for ; Sat, 14 Oct 2023 20:51:13 +0200 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 2D3D642110 for ; Sat, 14 Oct 2023 20:51:13 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=aYVPSeNe; 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=1697309473; 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=/gs3dC4ZfYV8WeDptyUfvcWoYXD3surDrrjPTAk1Qnk=; b=qEMDspQ/BCw49/Ftds+VTm1AZ8Fl3Km5P/2NDRg4nqqr4QE2J6o8K/zhspmraLbg+tJYkA taBVmW+slN1s7yoojp6GY8nZeaIokolpyTmMyYRqqcU9DUNwTLyNljsseF2cXdYjNjQ5A1 5gFZ3XbUPkEWJfHA44ZngqqsY6OmEOHk7Jm6iDP4IfyIrmx0xEhkiWzOrTYPn1YeZhkDtg +yVOoDkt2b2zZK4StKI3AZXPqk4gUpk/w0gi19ifFwKAT+AdlPXC0KI/NZpyI36JC02h1h QQe2zQ/bjTdtJO8QFo2xG2bH0ldqQB+KfvGBBFX26SFWmBQ/BbvHIdEdJRSx5g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=aYVPSeNe; 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=1697309473; a=rsa-sha256; cv=none; b=IODe0YXoTiD39sHSCYKBrvfifjyqSIPnshhY1JTu3Sv4bWS29+67J3LIhiNeK5fqZPSOVe J3WRxlJxwalM07tYlDf2D0+JSZFJvkREYXSfhC1uKXinnox2djEYulP0+QqA0HMR9UDHVR pjzh6NI+u9k63bWFyfVqHIWRublHm9IUOq7QH21LIXlY1P0yrnhFRFrvH7U7l6hC8hYIGl W9rSCIpG54WjM+2TR2LTwtn7GDRhsQfSsVa7bqoqDE9mWgqKqm9BcNUepU6DDeSKk4IFOc wfwAs+ddRjlXQxWhWKpyMsSbPud+VTkUaGfg8AeOnrK+o+mlKBEUofbgUFOf3Q== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qrjiY-0004FV-GW; Sat, 14 Oct 2023 14:50:30 -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 1qrjiT-0004FJ-91 for emacs-orgmode@gnu.org; Sat, 14 Oct 2023 14:50:25 -0400 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 1qrjiQ-0000nD-AY for emacs-orgmode@gnu.org; Sat, 14 Oct 2023 14:50:24 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 6368C240027 for ; Sat, 14 Oct 2023 20:50:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1697309416; bh=/gs3dC4ZfYV8WeDptyUfvcWoYXD3surDrrjPTAk1Qnk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=aYVPSeNetO6+iGN1GNjEEh6FTNnFj8+ng+UqpZE5ClwJ6sleGzdZjIzMSs4EWY1cv XqCbOXz8oWhytj0MMx3CaBcCE8ajo4JBI7j6KKa5bZgiNn/0zU873d3f1yVoal6v6C +gAHctsNgoUcoPoSA+9e7P4ZPOX5Kg66HfB9AgWa4+w6kat9z5LrX5JsqPoG25G9I4 8xQQC0FDJ3eYZH3DmbN4VgP0jBv+sm/WX+ZS4cyjOfYFRNUbVYx6fuAiSTm8Aq1TxN NJU58pBrP0+VaHwjLl/fDZ8Xth9ED8BpvqqZ5JEobT+4VpjNdnwT49MCqKYnh9ovKV mKlhTu9ncyl8A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4S7C9g4pbqz6twf; Sat, 14 Oct 2023 20:50:15 +0200 (CEST) From: Ihor Radchenko To: =?utf-8?Q?S=C5=82awomir?= Grochowski Cc: emacs-orgmode@gnu.org Subject: Re: org-columns--summary-mean-time [BUG] In-Reply-To: References: Date: Sat, 14 Oct 2023 18:51:53 +0000 Message-ID: <87h6mtavg6.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, 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: 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -9.34 X-Spam-Score: -9.34 X-Migadu-Queue-Id: 2D3D642110 X-Migadu-Scanner: mx2.migadu.com X-TUID: RBvc/Yg9xDXE S=C5=82awomir Grochowski writes: > I'm not sure if this is a bug or I need to change something? > > (org-columns--summary-mean-time '("17:00" "18:00") nil) ;=3D> "17:30" ; ok > (org-columns--summary-mean-time '("22:00" "02:00") nil) ;=3D> "12:00" ; > should be 00:00 > (org-columns--summary-mean-time '("22:00" "03:00") nil) ;=3D> "12:30" ; > should be 00:30 The function computes mean duration. I see nothing wrong. --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at