From 67c576a019513baaadb272c569f38593d0ac1494 Mon Sep 17 00:00:00 2001 From: Andreas Roussos Date: Sun, 16 Jul 2023 16:57:43 +0000 Subject: [PATCH] Bug 34292: Fix typos in JSDoc documentation equivilent -> equivalent koha -> Koha --- koha-tmpl/intranet-tmpl/prog/en/includes/js-date-format.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/js-date-format.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/js-date-format.inc index b9ef294f96..c34deeac7e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/js-date-format.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/js-date-format.inc @@ -34,8 +34,8 @@ }; /** - * A JS equivilent of the KohaDates TT Plugin. Passed an rfc3339 formatted date string, - * or JS Date, the function will return a date string formatted as per the koha instance config. + * A JS equivalent of the KohaDates TT Plugin. Passed an rfc3339 formatted date string, + * or JS Date, the function will return a date string formatted as per the Koha instance config. * @param {String|Date} value rfc3339 formatted date string or a JS Date object. * @param {Object} [options] Optional set of switches for changing date handling * @property {String} [options.tz] String representing the timezone of the passed date @@ -44,7 +44,7 @@ * @property {Boolean} [options.withtime] Enable/Disable appearance of time in returned string * @property {String} [options.timeformat] * @property {Boolean} [options.as_due_date] Enable/Disable due date output format - * @returns {String} A date string formatted as per the koha instance configuration. + * @returns {String} A date string formatted as per the Koha instance configuration. */ window.$date = function(value, options) { if(!value) return ''; -- 2.30.2