pub fn is_documented_time_format(value: &str) -> boolExpand description
Whether value matches the #time formats documented in the data rules:
yyyy-MM-dd HH:mm:ss or yyyy-MM-dd HH:mm:ss.SSS.
use thinkingdata_core::utils::is_documented_time_format;
assert!(is_documented_time_format("2026-11-17 09:30:00"));
assert!(is_documented_time_format("2026-11-17 09:30:00.123"));
assert!(!is_documented_time_format("2026-11-17T09:30:00Z"));