riku
2024-11-18 ca5ac89a24c6ace3fb7897b4b238b243059dcb43
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')