View Single Post
Old 09-01-2022, 08:32 AM   #2
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,460
Karma: 8025600
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by ownedbycats View Post
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
In the tag browser, it sorts like this:

Attachment 196200

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
Renders '00 ({LongLocalizedMonth})' for everything. What did I mess up?

EDIT: It was the capitaliztion. 'MM', not 'mm.'
The tag browser doesn't have sort options beyond alphabetic, by rating, or by count. Your solution is the only one I can think of.
chaley is offline   Reply With Quote