UNPKG

smartlink-format-time

Version:

smartlink-format-time

13 lines (12 loc) 442 B
/** * @Author: v_jppjpeng * @Date: 2025-04-10 10:17:37 * @Explain: 正则 */ export declare const datePattern: { /** 匹配 时区 eg: 2012-01-05+01:30 2012-01-05 01:15:36+01:30 匹配出 +01:30*/ matchTimezone: RegExp; /** ISO 8601 时间格式 2024-08-06T14:28:50.026634+08:00 或 2024-08-06T14:28:50+08:00 */ iso8601DateTime: RegExp; }; export declare const onPattern: (value: any, reg: RegExp) => boolean;