[Koha-bugs] [Bug 12137] Extend CalendarFirstDayOfWeek to be any day

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jun 22 14:29:42 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12137

--- Comment #17 from M. Tompsett <mtompset at hotmail.com> ---
(In reply to Jonathan Druart from comment #14)
> Since the list is complete, it would have been easier to add 'Saturday',
> don't you think?

Look at the old code:
CalendarFirstDayOfWeek => ( C4::Context->preference("CalendarFirstDayOfWeek")
eq "Sunday" ) ? 0 : 1

Is it easier to extend that with more code? Or just use the values 0-6 in the
first place?

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list