remove unused third party dependency

This commit is contained in:
MaysWind
2021-03-14 00:11:54 +08:00
parent 149f29f8a5
commit 159869af6a
6 changed files with 16 additions and 17 deletions
+5
View File
@@ -70,6 +70,10 @@ function formatUnixTime(unixTime, format) {
return moment.unix(unixTime).format(format);
}
function formatTime(dateTime, format) {
return moment(dateTime).format(format);
}
function getUnixTime(date) {
return moment(date).unix();
}
@@ -591,6 +595,7 @@ export default {
getCurrentUnixTime,
parseDateFromUnixTime,
formatUnixTime,
formatTime,
getUnixTime,
getYear,
getMonth,