riku
2024-10-18 2cf6fdb811ed7009a4c58209b0c3b1bb7e67320f
src/utils/time-util.js
@@ -13,6 +13,14 @@
    }
  },
  formatYM(date){
    if (date) {
      return this.format(date, 'YYYY-MM')
    } else {
      return '----/--'
    }
  },
  formatYMD(date){
    if (date) {
      return this.format(date, 'YYYY-MM-DD')