emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Daniel Bausch <DanielBausch@gmx.de>
To: Orgmode Mailing List <emacs-orgmode@gnu.org>
Subject: [BUG] org-table: time difference delivers wrong results
Date: Tue, 15 Nov 2011 22:12:45 +0100	[thread overview]
Message-ID: <201111152212.45996.DanielBausch@gmx.de> (raw)

Hello list,

consider the following example:

|        A |         B |         C |
|----------+-----------+-----------|
| 07:11:00 | -08:00:00 | -01:11:00 |
#+TBLFM: $3=$1+$2;T

I think the result in the third column is wrong.  I expect 0 hours and 49 
minutes, negative (-00:49:00).

The following does not work, too:

|        A |         C |
|----------+-----------|
| 07:11:00 | -01:11:00 |
#+TBLFM: $2=$1-28800;T

Daniel

             reply	other threads:[~2011-11-15 21:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-15 21:12 Daniel Bausch [this message]
2011-11-23  6:38 ` [BUG] org-table: time difference delivers wrong results Daniel Bausch
2011-11-23  9:00   ` Martyn Jago
2011-11-23  9:13     ` Martyn Jago
2011-11-23 10:23       ` Nick Dokos
2011-11-23 12:11         ` Daniel Bausch

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=201111152212.45996.DanielBausch@gmx.de \
    --to=danielbausch@gmx.de \
    --cc=emacs-orgmode@gnu.org \
    /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).