emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Tim Cross <theophilusx@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: org table problems with sorting of some column
Date: Sat, 01 Jan 2022 11:05:12 +1100	[thread overview]
Message-ID: <87pmpcs4j2.fsf@gmail.com> (raw)
In-Reply-To: <87o84xji42.fsf@mat.ucm.es>

Uwe Brauer <oub@mat.ucm.es> writes:

> [[S/MIME Signed Part:Undecided]]
>>>> "TC" == Tim Cross <theophilusx@gmail.com> writes:
>> Uwe Brauer <oub@mat.ucm.es> writes:
>> For problem 1, I suspect you will need to either change the date format
>> or tell org what the date format is. It won't work trying to sort
>> numerically as those values are not really numerical values. The date
>> format you currently have I think is ambiguous - in Europe it would
>> represent dd-mm-yyyy, but in the US it would represent mm-dd-yyyy. Best
>> solution would be to convert the values into an ISO format i.e.
>> yyyy-mm-dd.
> I just checked 
> I have the setting 
> ,----
> | org-time-stamp-custom-formats is a variable defined in ‘org.el’.
> | Its value is (" %d.%m.%Y " . " %d.%m.%Y %a %H:%M ")
> `----
> But this as I understand only effect via 
> ‘org-display-custom-times’ the representation. 
> It does not help me to recognise  28.04.2020 as a European date.
> [[End of S/MIME Signed Part]]

I suspect org is actually passing off the sorting/comparison to calc
(based on nothing but a guess of course). I would look into how calc
determines the format for date/time calculations and see if that can

      reply	other threads:[~2022-01-01  0:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-30 20:19 org table problems with sorting of some column Uwe Brauer
2021-12-31  1:00 ` Tim Cross
2021-12-31  8:20   ` Uwe Brauer
2021-12-31  8:25   ` Uwe Brauer
2022-01-01  0:05     ` Tim Cross [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:

  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=87pmpcs4j2.fsf@gmail.com \
    --to=theophilusx@gmail.com \
    --cc=emacs-orgmode@gnu.org \


* 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


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).