![]() |
#1 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,970
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Sorting of months in Tag Browser
I have this as a composite column:
Code:
program: p = format_date ($date, 'yyyy'); m = format_date($date, 'MMMM'); # elif so it doesn't render undefineds as '.' if p then strcat(p, '.', m) fi Is there an option to fix the sorting here, or should I just change it to output '01 (January)'? EDIT: Code:
program: p = format_date ($date, 'yyyy'); MMMM = format_date($date, 'MMMM'); mm = format_date($date, 'mm'); m = strcat(mm, '(', MMMM, ')'); if p then strcat(p, '.', m) fi EDIT: It was the capitaliztion. 'MM', not 'mm.' Last edited by ownedbycats; 09-01-2022 at 03:19 AM. |
![]() |
![]() |
![]() |
#2 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,443
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,970
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
I've used it for sorting files/folders before, so it makes sense.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Custom Column: Alphabetical sorting in tag browser includes articles | ownedbycats | Library Management | 2 | 06-30-2020 12:52 PM |
Hierarchical tags and sorting in tag browser | ownedbycats | Calibre | 4 | 06-08-2020 07:01 PM |
Tag Browser - Numerical sorting bonked? | Lofwyr23 | Calibre | 3 | 06-14-2014 06:28 PM |
Tag Browser is not sorting at all | RennyM | Library Management | 5 | 05-05-2014 07:30 PM |
Sorting tag values in tag browser | mcam | Library Management | 15 | 08-25-2013 05:50 AM |