Koha/installer/data/mysql/nb-NO/1-Obligatorisk
Mark Tompsett db5fe99b33 Bug 12137: Extend CalendarFirstDayOfWeek to be any day
Mubassir Ahsan asked on the Koha mailing list:
Is there any option to set Saturday as the first day of
the week? Please help me.

CalendarFirstDayOfWeek is currently either Sunday|Monday.

By converting it to 0|1|2|3|4|5|6
(Sunday, Monday, ..., Saturday), we can allow any day of the
week to be the first day of the week in the date picker.

TEST PLAN
---------
1) Backup DB
2) In mysql:
   > DELETE FROM systempreferences;
   > SOURCE .../installer/data/mysql/sysprefs.sql
   > SELECT variable,value FROM systempreferences;
   -- It should say 'CalendarFirstDayOfWeek' and '0'
      May say '1' if you are using Norwegian.
3) Restore your DB
4) .../installer/data/mysql/updatedatabase.pl
   -- If your previous value for 'CalendarFirstDayOfWeek' was
      'Sunday', it should be '0'. For 'Monday', it should be '1'.
5) Test an installation with 'de-DE' as the language.
   -- The default value should be '1'.
6) Test an installation with 'nb-NO' as the language.
   -- The default value should be '1'.
7) In the staff client, confirm that any day of the week is
   available in the I18N/L10N system preferences for the
   CalendarFirstDayOfWeek dropdown.
   -- I'm aware they aren't in order, but I'm after
      functionality, not finesse.
8) In another tab, go to a staff place that has a datepicker.
   For example, Home -> Tools -> Inventory/stocktaking
9) For each possible value in the CalendarFirstDayOfWeek,
   go to the other tab, refresh the page after updating the
   system preference, and click the datepicker icon.
   -- The date picker should then start on the selected
      day of the week.
10) Log into OPAC
    -- This may require setting: opacuserlogin to 'Allow'.
11) Click the personal details tab on the left.
12) There is a date picker for the date of birth.
    -- The date picker should then start on the selected
       day of the week.
13) Run koha QA test tools.

NOTE: not an atomic update, since this is an old patch.

Signed-off-by: Indranil Das Gupta (L2C2 Technologies) <indradg@gmail.com>

Signed-off-by: Jonathan Druart <jonathan.druart@koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>
2015-07-20 10:43:35 -03:00
..
class_sources.sql Add files in installer/data/mysql/nb-NO/1-Obligatorisk/ 2011-03-30 09:55:25 +02:00
class_sources.txt Add files in installer/data/mysql/nb-NO/1-Obligatorisk/ 2011-03-30 09:55:25 +02:00
message_transport_types.sql Bug 12298: The "feed" MTT does not seem to be used and can be removed 2014-11-25 17:14:50 -03:00
message_transport_types.txt Add files in installer/data/mysql/nb-NO/1-Obligatorisk/ 2011-03-30 09:55:25 +02:00
sample_frequencies.sql Bug 11261: make sample serial frequencies mandatory during installation 2013-12-13 18:34:05 +00:00
sample_frequencies.txt Bug 11261: make sample serial frequencies mandatory during installation 2013-12-13 18:34:05 +00:00
sample_notices.sql Bug 13014: (follow-up) Notify budget owner on new suggestion - sample notices 2015-06-24 11:49:07 -03:00
sample_notices.txt Add files in installer/data/mysql/nb-NO/1-Obligatorisk/ 2011-03-30 09:55:25 +02:00
sample_notices_message_attributes.sql Bug 7022: Move sample_notices* sql files from optional to mandatory 2011-10-18 15:57:57 +13:00
sample_notices_message_attributes.txt Bug 7022: Move sample_notices* sql files from optional to mandatory 2011-10-18 15:57:57 +13:00
sample_notices_message_transports.sql Bug 7022: Move sample_notices* sql files from optional to mandatory 2011-10-18 15:57:57 +13:00
sample_notices_message_transports.txt Bug 7022: Move sample_notices* sql files from optional to mandatory 2011-10-18 15:57:57 +13:00
sample_numberpatterns.sql Bug 11261: make sample serial numbering patterns mandatory during installation 2013-12-13 18:33:57 +00:00
sample_numberpatterns.txt Bug 11261: make sample serial numbering patterns mandatory during installation 2013-12-13 18:33:57 +00:00
stopwords.sql Add files in installer/data/mysql/nb-NO/1-Obligatorisk/ 2011-03-30 09:55:25 +02:00
stopwords.txt Add files in installer/data/mysql/nb-NO/1-Obligatorisk/ 2011-03-30 09:55:25 +02:00
system_preferences.sql Bug 12137: Extend CalendarFirstDayOfWeek to be any day 2015-07-20 10:43:35 -03:00
system_preferences.txt Bug 6537 - squashed version of the previous 5 commits, signed-off 2011-09-07 09:19:07 +12:00
userflags.sql Bug 7976: Remove the borrow permission 2015-06-05 13:43:34 -03:00
userflags.txt Add files in installer/data/mysql/nb-NO/1-Obligatorisk/ 2011-03-30 09:55:25 +02:00
userpermissions.sql Bug 11395: DB: Add permission tools_records_batchmod 2015-03-05 15:27:10 +01:00
userpermissions.txt Add files in installer/data/mysql/nb-NO/1-Obligatorisk/ 2011-03-30 09:55:25 +02:00