x12-types 0.7.0

Bindings for the ASC X12 EDI definitions
Documentation
1
2
3
4
5
6
7
8
9
pub fn now_as_dt() -> String {
    let t = chrono::Local::now().format("%Y-%m-%d");
    format!("{}", t)
}

// pub fn datetime_as_dt<Tz: TimeZone>(dt: DateTime<Tz>) -> String {
//     let t = dt.format("%Y-%m-%d");
//     format!("{}",t)
// }