mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-10 03:27:57 +00:00
refac
This commit is contained in:
parent
3302f5eea2
commit
a8388243d6
1 changed files with 4 additions and 0 deletions
|
|
@ -499,6 +499,10 @@ export const generateInitialsImage = (name) => {
|
|||
return canvas.toDataURL();
|
||||
};
|
||||
|
||||
// These keys are translated by callers after choosing a date format.
|
||||
// t('Today at {{LOCALIZED_TIME}}');
|
||||
// t('Yesterday at {{LOCALIZED_TIME}}');
|
||||
// t('{{LOCALIZED_DATE}} at {{LOCALIZED_TIME}}');
|
||||
export const formatDate = (inputDate) => {
|
||||
const date = dayjs(inputDate);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue