From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id aP55M/vpKmXoIwAAauVa8A:P1 (envelope-from ) for ; Sat, 14 Oct 2023 21:20:28 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id aP55M/vpKmXoIwAAauVa8A (envelope-from ) for ; Sat, 14 Oct 2023 21:20:27 +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 9927669B55 for ; Sat, 14 Oct 2023 21:20:27 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=CQvllGri; 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=1697311227; 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=UZTKZH10cY5aEDo0+GHTNb66rQn3DkPrKLjKfUdGw+g=; b=ky1FtUbOnn4vqtKIGEh6p7yPWJIj1uV+4iSQ+nXHiDH2++orVFyTaj+Mshxo26fncYHDel R5BGlMoCqJTs8GBYyeheOS23++wDOwsEfksPJpDAn3J04JvnDdPG5/x8kjRQIuCZiZl28s i6uOt5a0nUMAYGQ3JpWEKDF8TS5Ql1MCG8hFMVgdZ6k4nKCkZBeZ6ShkLVditgcHJvoDZ2 0ZOCIhGmbou60/OXENMjsAPcPmM/IVuVIeTRtcSwvOV9AeyingnhiXRs3MSbb5lxt8Y4t5 Y+xDwTN1wfJwdhBpG3Qw63wc8++QI7wxZtSE+cGJRL4REAOY+nZRRGrAZsZPSw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1697311227; a=rsa-sha256; cv=none; b=gkGOCoDy7LoSnLD1xdvzUI5jV6Yo7UqHQR9aXQxGHD6/F9SCxpTVuGnM3lGtgWYb3cT7mw EeEKyubkgEthtV8pKggrrjPqPeIVEkj7wYdkRgYOEj+t9MDNN5bteZdqfDhVFRtrtJtSFH Wj8FQATsnCxpBPv6FL0HjzAxldFPkmQu0VPBRm5iws276mS3WpjEfpjLdGMUFFftjZnwdP fjluxr69FiVrah0FTdwRbKM/TjhrFgDTZyvUH1DdpSy9RkdOgWWwNOFKMxec14cvj5biMB 5Si9KwZNe4R1Q//4a2EoH6Dml1PNPbcacg/Z5WJD3RWlWlUZs4JYR3cf/NN2EQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=CQvllGri; 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 Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qrkAe-0005Xq-Em; Sat, 14 Oct 2023 15:19:32 -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 1qrkAc-0005XT-Gr for emacs-orgmode@gnu.org; Sat, 14 Oct 2023 15:19:30 -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 1qrkAa-0006Ir-7f for emacs-orgmode@gnu.org; Sat, 14 Oct 2023 15:19:30 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 665A3240028 for ; Sat, 14 Oct 2023 21:19:24 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1697311164; bh=WgvUu4/LgtDS3hMhPtJEVqvPfuMpOLHCNhls38Q3Xys=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=CQvllGriKZiI5sIMgPa9U3wuuPkegCbB1jplCXzziG1Hum0jBAGMUmPU087pgi8kH rWclTxGCXYUbbXkf7e6zLkIQkRZKvowz1FyXzKN5H++pN8MKJlh3+19ZSenn6xZSEw OKp48IxjEvYgft8xDDd69Q2IvRIs0vjd825gZyFAJZu/z/5H0K29z/YzxJH0FepyEy E5DW5kGTigit7m0Uqv5Q4WoLoHQ5poqUamTIY7r8iQvw8QgveksPNjsWTg+rVKYSSY O0tGif0ZfpaURY2lJ/fc2lPC4d0xyA0YGVSLY/p9wDHV1AhtVYhXufkopZlZt+H9OF mXs3acYftG2yQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4S7CqH5Shdz9rxL; Sat, 14 Oct 2023 21:19:23 +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: <87h6mtavg6.fsf@localhost> Date: Sat, 14 Oct 2023 19:21:06 +0000 Message-ID: <87edhxau3h.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-Flow: FLOW_IN X-Migadu-Country: US X-Spam-Score: -6.49 X-Migadu-Queue-Id: 9927669B55 X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -6.49 X-TUID: 7N1wIMisGrmX S=C5=82awomir Grochowski writes: > In ex. I want to have an average time when I go to bed. > So on Monday I went to bed at 22:00 and on Tuesday at 02:00. > So the average time would be midnight 00:00. > But it returns 12:00 which is noon. As I said, it is because it does not calculate an average time of the day, but an average duration: =E2=80=98@mean=E2=80=99 Arithmetic mean of ages (in days/hours/mins= /seconds). You can customize `org-columns-summary-types' to have a column summary you need for your purposes. --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at