api clean
This commit is contained in:
1 parent
8a7cb50abd
commit
d66f995683
3 files changed
-42
No files matched your search
@@ -1,14 +1,3 @@
|
||||
import moment from 'moment'
|
||||
moment.locale('ru')
|
||||
|
||||
/**
|
||||
*
|
||||
* Date -> DD.MM.YYYY
|
||||
*
|
||||
* @param date
|
||||
*/
|
||||
export const dateFormat = (date: string | Date) => moment(date).format('L')
|
||||
|
||||
/**
|
||||
*
|
||||
* Date -> Unix time
|
||||
|
||||
Reference in new issue
Block a user