On Mon, 2026-05-18 at 21:29 -0400, Go Canes wrote:
> However, if I read your post correctly (and it is entirey possible I
> did not), your sort field is a date?  If so I don't think you can
> sort it directly.

If sorting by date is a desire, and you don't want to use special
routines to handle the various different date formats (there should be
library files already for that somewhere), then storing dates in an ISO
format is the way to go (YYYYMMDD or YYYY-MM-DD) as it orders them like
normal numbers (most significant digit first, to least last) allowing a
simple numerical order sort.

Even if your entry and display gadgets use another format for entering
the dates, storing them in an ISO format is a good idea.

-- 
 
uname -rsvp
Linux 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
(yes, this is the output from uname for this PC when I posted)
 
Boilerplate:  All unexpected mail to my mailbox is automatically deleted.
I will only get to see the messages that are posted to the mailing list.
 

-- 
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://forge.fedoraproject.org/infra/tickets/issues/new

Reply via email to