mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
fixed flow face appearance
This commit is contained in:
parent
225e5b6cda
commit
48cce8f127
3 changed files with 27 additions and 4 deletions
|
@ -95,6 +95,8 @@ export const formatCommentText = (author: string, text: string): string =>
|
|||
)
|
||||
: '';
|
||||
|
||||
export const formatCellText = (text: string): string => formatText(text);
|
||||
|
||||
export const getPrettyDate = (date: string): string =>
|
||||
formatDistanceToNow(new Date(date), { locale: ru, includeSeconds: true, addSuffix: true });
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue