Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Nick Dokos <nicholas.dokos <at> hp.com>
Subject: calc-date-format in org-table.el
Newsgroups: gmane.emacs.orgmode
Date: Thursday 4th September 2008 21:54:59 UTC (over 8 years ago)
The default calc-date-format in org-table.el uses a 12-hour clock, as
Stephan Schmitt discovered - see

        http://article.gmane.org/gmane.emacs.orgmode/7753


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.


_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
 
CD: 4ms