Commit 4111ff86 by liwk

修改日期插件

1 parent aea095d8
function format(formatStr) {
const date = this
var zeroize = function(value, length) {
if (!length) {
length = 2
}
for (var i = 0, zeros = ''; i < (length - value.length); i++) {
let zeros = ''
if (!length) length = 2
value = value.toString()
for (let i = 0; i < (length - value.length); i++) {
zeros += '0'
}
return zeros + value
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!