How to use the date-format-parse.getWeek function in date-format-parse

To help you get started, we’ve selected a few date-format-parse examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github mengxiong10 / vue2-datepicker / src / date-picker.vue View on Github external
getWeek(date, options) {
      if (isObject(this.format) && typeof this.format.getWeek === 'function') {
        return this.format.getWeek(date, options);
      }
      return getWeek(date, options);
    },
    parseDate(value, fmt) {

date-format-parse

Lightweight date format and parse

MIT
Latest version published 3 years ago

Package Health Score

50 / 100
Full package analysis