(time)
| 129 | } |
| 130 | |
| 131 | function formatTime(time) { |
| 132 | let dateObj = new Date(time); |
| 133 | let year = dateObj.getFullYear(); |
| 134 | let month = dateObj.getMonth() + 1; |
| 135 | let day = dateObj.getDate(); |
| 136 | return year + "年" + month + "月" + day + "日"; |
| 137 | } |
| 138 | |
| 139 | function sendNotification(usageRate, expire, infoList) { |
| 140 | if (!args.alert) return; |