[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] calc-date-format in org-table.el

From: Nick Dokos
Subject: [Orgmode] calc-date-format in org-table.el
Date: Thu, 04 Sep 2008 17:54:59 -0400

The default calc-date-format in org-table.el uses a 12-hour clock, as
Stephan Schmitt discovered - see


I think it would be preferable to use either a 24-hour clock (or an
am/pm indicator - imo, a 24-hour clock is better). Here is a patch
to make it into a 24-hour clock:

diff --git a/lisp/org-table.el b/lisp/org-table.el
index 4ba83e9..5d72aab 100644
--- a/lisp/org-table.el
+++ b/lisp/org-table.el
@@ -191,7 +191,7 @@ t:      accept as input and present for editing"
     calc-angle-mode    deg
     calc-prefer-frac   nil
     calc-symbolic-mode nil
-    calc-date-format (YYYY "-" MM "-" DD " " Www (" " HH ":" mm))
+    calc-date-format (YYYY "-" MM "-" DD " " Www (" " hh ":" mm))
     calc-display-working-message t
   "List with Calc mode settings for use in calc-eval for table formulas.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]