From: Carsten Dominik <dominik@science.uva.nl>
To: nicholas.dokos@hp.com
Cc: emacs-orgmode@gnu.org
Subject: Re: calc-date-format in org-table.el
Date: Fri, 5 Sep 2008 07:35:37 +0200 [thread overview]
Message-ID: <3D6FF5F2-B955-43A2-8089-C19E8234D0D8@uva.nl> (raw)
In-Reply-To: <18981.1220565299@alphaville.usa.hp.com>
[-- Attachment #1.1: Type: text/plain, Size: 1248 bytes --]
Wow, what a stupid, terrible bug.
I applied you patch, thanks.
- Carsten
On Sep 4, 2008, at 11:54 PM, Nick Dokos wrote:
> 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.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[-- Attachment #1.2: Type: text/html, Size: 1912 bytes --]
[-- Attachment #2: Type: text/plain, Size: 204 bytes --]
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
prev parent reply other threads:[~2008-09-05 7:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-04 21:54 calc-date-format in org-table.el Nick Dokos
2008-09-05 5:35 ` Carsten Dominik [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3D6FF5F2-B955-43A2-8089-C19E8234D0D8@uva.nl \
--to=dominik@science.uva.nl \
--cc=emacs-orgmode@gnu.org \
--cc=nicholas.dokos@hp.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).