UNPKG

@daysnap/utils

Version:
9 lines (7 loc) 124 B
// src/formatDateStr.ts function formatDateStr(v) { return new Date(v.replace(/-/g, "/")); } export { formatDateStr };