From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Fraga, Eric" Subject: Re: Custom time stamps in column view Date: Sat, 7 Dec 2019 13:44:42 +0000 Message-ID: <87wob85jxy.fsf@ucl.ac.uk> References: <87v9qzddke.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:60199) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1idcoB-0000jR-3S for emacs-orgmode@gnu.org; Sat, 07 Dec 2019 11:19:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1idco9-0005V0-TA for emacs-orgmode@gnu.org; Sat, 07 Dec 2019 11:19:50 -0500 Received: from mail-eopbgr140099.outbound.protection.outlook.com ([40.107.14.99]:20698 helo=EUR01-VE1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1idco9-0005Uo-Ji for emacs-orgmode@gnu.org; Sat, 07 Dec 2019 11:19:49 -0500 Content-Language: en-US List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Emacs Org mode mailing list On Sunday, 1 Dec 2019 at 19:57, Fraga, Eric wrote: > I guess I'm making a feature request: to be able to use custom time > display in column views. Would this be possible? (or, knowing me, it > might already be possible so would somebody tell me how?) I found some time today to explore and have managed to answer my own question. Unsurprisingly, org has what I need! Using the answer given to a related question on StackExchange [1], I came up with this simple function: #+begin_src emacs-lisp (defun esf/todo-column-display-filter (column-title value) (when (and value (not (string=3D value "")) (or (string=3D column-title "SCHEDULED") (string=3D column-title "DEADLINE"))) (format-time-string "%e %b %A" (org-time-string-to-time value)))) (setq-local org-columns-modify-value-for-display-function #'esf/todo-column-display-filter) #+end_src Makes my column view much easier to read for seeing my todo list! Thank you, eric Footnotes: [1] https://emacs.stackexchange.com/questions/54027/org-column-view-with-d= ate-calculations --=20 Eric S Fraga via Emacs 27.0.50, Org release_9.3-34-g2eee3c