diff --git a/src/public/app/utils/formatters.js b/src/public/app/utils/formatters.js index be89f0649..2c996bb80 100644 --- a/src/public/app/utils/formatters.js +++ b/src/public/app/utils/formatters.js @@ -2,7 +2,7 @@ * Formats the given date and time to a string based on the current locale. * @param {string | Date | number} date * @param {"full" | "long" | "medium" | "short" | "none" | undefined} dateStyle - * @param {"full" | "long" | "medium" | "short" | "none" | undefined} tiemStyle + * @param {"full" | "long" | "medium" | "short" | "none" | undefined} timeStyle */ export function formatDateTime(date, dateStyle = "medium", timeStyle = "medium") { const locale = navigator.language;