mirror of
https://github.com/zadam/trilium.git
synced 2025-11-04 20:36:13 +01:00
client: fix a typo
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user