[Koha-bugs] [Bug 20197] Missing rfc3339 in systempreference choices for dateformat
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Feb 14 16:53:40 CET 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20197
--- Comment #1 from M. Tompsett <mtompset at hotmail.com> ---
Created attachment 71617
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=71617&action=edit
Bug 20197: RFC3339 missing from options
The output_pref in Koha::DateUtils has rfc3339 logic, but
there is no way to set the system preference to rfc3339.
This adds that option.
TEST PLAN
----------
0) back up your DB if you wish.
1) apply this patch.
2) Run the following commands:
$ mysql -u koha_kohadev -p
> use koha_kohadev;
> SELECT options FROM systempreferences WHERE variable='dateformat';
-- no rfc3339 listed.
3) Run the following commands:
> quit
$ updatedatabase
$ mysql -u koha_kohadev -p
> use koha_kohadev;
> SELECT options FROM systempreferences WHERE variable='dateformat';
-- rfc3339 now listed.
4) Run the following commands:
> quit
$ reset_all
$ mysql -u koha_kohadev -p
> use koha_kohadev;
> SELECT options FROM systempreferences WHERE variable='dateformat';
-- rfc3339 still listed.
5) Log into the staff client
6) Home -> Administration -> Global System Preferences -> i18n/l10n
-- rfc3339 should be listed in the dateformat syspref drop-down.
7) run koha qa test tools
8) restore DB if needed
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list