1
0
Fork 0
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:
Fedor Katurov 2019-10-31 13:40:50 +07:00
parent 225e5b6cda
commit 48cce8f127
3 changed files with 27 additions and 4 deletions

View file

@ -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 });