date format

Built-in dateFormat is much smaller size than moment

Usage

import { dateFormat } from 'vux'

dateFormat(new Date(), 'YYYY-MM-DD HH:mm:ss')

Used as Vue filter

import { dateFormat } from 'vux'

export default {
  filters: {
    dateFormat
  }
}