Skip to main content

Module timestamped

Module timestamped 

Source

Enums§

DateOrder
Controls whether slash-date fields are interpreted as MM/DD or DD/MM.

Functions§

matches_any_timestamp
Check whether a line matches any supported timestamp pattern (used by detect.rs).
parse_lines
Parse all lines, extracting timestamps where possible. Lines that don’t match any timestamp pattern are included as plain-text entries. Caches the detected format from the first match and tries it first on subsequent lines, avoiding up to 3 wasted regex attempts per line.
slash_date_first_field
Check whether a slash-date line has first field > 12, indicating day-first order.