client: fix a typo

This commit is contained in:
Adorian Doran 2024-12-10 18:43:51 +02:00
parent d7004bc3b5
commit 89334691b7

View File

@ -2,7 +2,7 @@
* Formats the given date and time to a string based on the current locale. * Formats the given date and time to a string based on the current locale.
* @param {string | Date | number} date * @param {string | Date | number} date
* @param {"full" | "long" | "medium" | "short" | "none" | undefined} dateStyle * @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") { export function formatDateTime(date, dateStyle = "medium", timeStyle = "medium") {
const locale = navigator.language; const locale = navigator.language;