Skip to content

parseDateString

格式化时间字符串

Demo

ts
import {
parseDateString
} from '@vill-v/date'
parseDateString
(1652173543541, 'YYYY-MM-DD HH:mm:ss')

DTS

ts
declare const parseDateString: (value: ConfigType, format: string, error?: any) => any;

Released under the MIT License.