Koha/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/i18n_l10n.pref
Kyle M Hall b900f5f056 Bug 9014 - Add time due to slips
This patch modifies Koha::DateUtils::output_pref to support the new system preference TimeFormat, which defines the visual format for a time as either the 24 hour format ( default ), or the 12 hour format (HH:MM AM/PM).

The patch also modifies C4::Members::IssueSlip to use output_pref rather than format_date.

Test Plan:
1) Apply patch
2) Run updatedatabase.pl
3) Issue an item to a patron, verify the times are in 24 hour format.
4) Switch TimeFormat to the 12 hour format.
5) Revisit the patron record you issued an item to, times should now be in a 12 hour format.
6) Print a slip for this patron, you should now see the time as well as the date.

Katrin Fischer <Katrin.Fischer.83@web.de>
Passes all tests after fixing the test count in t/DateUtils.t.
Fixed conflicts in syspref.sql and updatedatabase.pl.

Signed-off-by: Cedric Vita <cedric.vita@dracenie.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
As we have another sign-off on this now I gave it a quick
run through and it works as expected.
All tests and QA script pass.
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
2013-03-21 11:07:42 -04:00

46 lines
1.3 KiB
Text

I18N/L10N:
-
- Format dates like
- pref: dateformat
default: us
choices:
us: mm/dd/yyyy
metric: dd/mm/yyyy
iso: yyyy-mm-dd
- .
-
- Format times in
- pref: TimeFormat
default: 24hr
choices:
24hr: 24 hour format ( e.g. "14:18" )
12hr: 12 hour format ( e.g. "02:18 PM" )
- .
-
- Use
- pref: CalendarFirstDayOfWeek
default: Sunday
choices:
Sunday: Sunday
Monday: Monday
- as the first day of week in the calendar.
-
- "Enable the following languages on the staff interface:"
- pref: language
type: staff-languages
-
- pref: opaclanguagesdisplay
default: 0
choices:
yes: Allow
no: "Don't allow"
- patrons to change the language they see on the OPAC.
-
- "Enable the following languages on the OPAC:"
- pref: opaclanguages
type: opac-languages
-
- "Use the alphabet"
- pref: alphabet
class: long
- for lists of browsable letters. This should be a space separated list of uppercase letters.