Skip to content
Snippets Groups Projects
Unverified Commit 4b1a3763 authored by Bekerle, Patrizio's avatar Bekerle, Patrizio :fire:
Browse files

Fix typos

parent 4b6be2af
No related branches found
No related tags found
No related merge requests found
Pipeline #14529 passed
...@@ -8,7 +8,7 @@ import i18next from 'i18next'; ...@@ -8,7 +8,7 @@ import i18next from 'i18next';
* @param {i18next.i18n} i18n - The i18next instance * @param {i18next.i18n} i18n - The i18next instance
* @param {Date} date - The date to format * @param {Date} date - The date to format
* @param {object} options - Options passed to Intl.DateTimeFormat * @param {object} options - Options passed to Intl.DateTimeFormat
* @returns {string} The formated datetime * @returns {string} The formatted datetime
*/ */
export function dateTimeFormat(i18n, date, options) { export function dateTimeFormat(i18n, date, options) {
return new Intl.DateTimeFormat(i18n.languages, options).format(date); return new Intl.DateTimeFormat(i18n.languages, options).format(date);
...@@ -22,7 +22,7 @@ export function dateTimeFormat(i18n, date, options) { ...@@ -22,7 +22,7 @@ export function dateTimeFormat(i18n, date, options) {
* @param {i18next.i18n} i18n - The i18next instance * @param {i18next.i18n} i18n - The i18next instance
* @param {number} number - The number to format * @param {number} number - The number to format
* @param {object} options - Options passed to Intl.NumberFormat * @param {object} options - Options passed to Intl.NumberFormat
* @returns {string} The formated number * @returns {string} The formatted number
*/ */
export function numberFormat(i18n, number, options) { export function numberFormat(i18n, number, options) {
return new Intl.NumberFormat(i18n.languages, options).format(number); return new Intl.NumberFormat(i18n.languages, options).format(number);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment