'ui.patron.edit.au.guardian.show',
'ui.patron.edit.au.guardian.suggest',
'ui.patron.edit.guardian_required_for_juv',
- 'format.date',
+ 'webstaff.format.dates',
'ui.patron.edit.default_suggested',
'opac.barcode_regex',
'opac.username_regex',
'coust', 'description'),
'string', null)
-,( 'format.date', 'gui',
- oils_i18n_gettext('format.date',
- 'Format Dates with this pattern.',
- 'coust', 'label'),
- oils_i18n_gettext('format.date',
- 'Format Dates with this pattern (examples: "yyyy-MM-dd" for "2010-04-26", "MMM d, yyyy" for "Apr 26, 2010")',
- 'coust', 'description'),
- 'string', null)
-
-,( 'format.time', 'gui',
- oils_i18n_gettext('format.time',
- 'Format Times with this pattern.',
- 'coust', 'label'),
- oils_i18n_gettext('format.time',
- 'Format Times with this pattern (examples: "h:m:s.SSS a z" for "2:07:20.666 PM Eastern Daylight Time", "HH:mm" for "14:07")',
- 'coust', 'description'),
- 'string', null)
-
,( 'global.default_locale', 'glob',
oils_i18n_gettext('global.default_locale',
'Global Default Locale',
--- /dev/null
+BEGIN;
+
+-- SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version); -- JBoyer
+
+-- If these settings have not been marked Deprecated go ahead and do so now
+UPDATE config.org_unit_setting_type SET label = 'Deprecated: ' || label WHERE name IN ('format.date', 'format.time') AND NOT label ILIKE 'deprecated: %';
+
+COMMIT;
'ui.patron.edit.au.guardian.show',
'ui.patron.edit.au.guardian.suggest',
'ui.patron.edit.guardian_required_for_juv',
- 'format.date',
+ 'webstaff.format.dates',
'ui.patron.edit.default_suggested',
'opac.barcode_regex',
'opac.username_regex',
if (blocked) {
egCore.audio.play('warning.offline.blocked_patron');
var default_format = 'mediumDate';
- egCore.org.settings(['format.date']).then(function(set) {
- if (set && set['format.date']) default_format = set['format.date'];
+ egCore.org.settings(['webstaff.format.dates']).then(function(set) {
+ if (set && set['format.date']) default_format = set['webstaff.format.dates'];
$scope.date_format = default_format;
var fBlockListDate = $scope.blockListDate ?
$filter('date')(($scope.blockListDate * 1000), $scope.date_format) :
scope.showTimePicker = true;
var default_format = 'mediumDate';
- egCore.org.settings(['format.date']).then(function(set) {
- if (set) default_format = set['format.date'];
+ egCore.org.settings(['webstaff.format.dates']).then(function(set) {
+ if (set) default_format = set['webstaff.format.dates'];
scope.date_format = (scope.dateFormat) ?
scope.dateFormat :
default_format;
--- /dev/null
+== Date / Time Format Settings Deprecated ==
+
+The format.date and format.time org unit settings are no longer used by the staff client
+and have been marked Deprecated. If you are not using these OU settings in a local customization
+they can be removed from the database at your convenience.
+