fren-date 0.2.1

fren - file renamer that understands dates (library)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! Date detection and ISO conversion.
//!
//! Ports the Python `try_date()` + `POSSIBLE_FORMATS` logic to Rust. The
//! detection runs over a slugified-with-sentinel string (see
//! `crates/fren/src/slugify/sentinel.rs`); detected dates are emitted in
//! ISO 8601 form wrapped in sentinel markers so the surrounding pipeline
//! can collapse them.

mod formats;
mod parser;

pub use parser::detect_and_replace;