riku
2024-10-17 971c7c5993ff475157b0c9ed137998fd39f6c548
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')