[Koha] Error in sorting the holidays entered into the calender

Indranil Das Gupta indradg at gmail.com
Mon May 9 10:08:31 NZST 2011


Hi all,

While setting up the list of official holidays here in west bengal,
india (http://india.gov.in/calendar/pdf/wb_2011.pdf), I'm find the
sort order of holidays listed is borked if 'dateformat' is dd/mm/yyyy

Since most of them are a) religious holidays or b) based on Indian
calendars, they often are on different dates in different years; so
I'm entering them as "Unique".

Below is my list of unique holidays. as you can see, the sort order
has gone for a toss.

31/08/2011 	Id-Ul-Fitre 	
27/09/2011 	Mahalaya 	
26/10/2011 	Kali Puja 	
22/04/2011 	Good Friday 	
15/04/2011 	Bengali New year’s Day 	
11/10/2011 	Lakshmi Puja 	
10/11/2011 	Guru Nanak’s Birthday 	
09/03/2011 	Dol Jatra 	
08/02/2011 	Shree Panchami 	
07/11/2011 	Id-Uz-Zoha 	
06/12/2011 	Muharram 	
06/10/2011 	Dashami 	
05/10/2011 	Nabami 	
04/10/2011 	Astami 	
03/10/2011 	Saptami

I can see what's happening here, apparently the "headerSortUp" is
doing it as mm/dd/yyyy (either ASC or DSC). I'm on 3.2.7 (tarball
install)

thanks

-- 
Indranil Das Gupta

Phone : +91-98300-20971
Blog    : http://indradg.randomink.org/blog
IRC      : indradg on irc://irc.freenode.net
Twitter : indradg

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-
Please exchange editable Office documents only in ODF Format. No other
format is acceptable. Support Open Standards.

For a free editor supporting ODF, please visit LibreOffice -
http://www.documentfoundation.org


More information about the Koha mailing list