mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-20 17:54:30 +08:00
remove unused third party dependency
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import utils from "../lib/utils.js";
|
||||
|
||||
export default function (value, format) {
|
||||
if (utils.isNumber(value)) {
|
||||
return utils.formatUnixTime(value, format);
|
||||
} else {
|
||||
return utils.formatTime(value, format);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user