(date, fmt)
| 818 | } |
| 819 | |
| 820 | formatDate(date, fmt) { |
| 821 | // noinspection JSCheckFunctionSignatures |
| 822 | return format(typeof date === 'object' ? date : new Date( |
| 823 | typeof date === 'string' ? date * 1 : date), |
| 824 | fmt || 'yyyy-MM-dd') |
| 825 | } |
| 826 | |
| 827 | //yyyy-MM-dd HH:mm:ss |
| 828 | parseDate(date) { |
nothing calls this directly
no outgoing calls
no test coverage detected