NS36CJCO6E2FS65JRHHMOK4GTL7CLNOOLQZZAAAIZI2CQYNPAYRQC
4H2XTVJ2BNXDNHQ3RQTMOG3I4NRGZT7JDLC2GRINS56TIYTYTO4QC
SXEYMYF7P4RZMZ46WPL4IZUTSQ2ATBWYZX7QNVMS3SGOYXYOHAGQC
AEPEFS7O3YT7CRRFYQVJWUXUUSRGJ6K6XZQVK62B6N74UXOIFWYAC
#[clap(long = "timestamp")]
#[clap(long = "timestamp", validator = timestamp_validator)]
fn timestamp_validator(s: &str) -> Result<(), &'static str> { if let Ok(t) = s.parse() { if chrono::NaiveDateTime::from_timestamp_opt(t, 0).is_some() { return Ok(()) } } Err("Could not parse timestamp")}
fn timestamp_validator(s: &str) -> Result<(), &'static str> {
if let Ok(t) = s.parse() {
if chrono::NaiveDateTime::from_timestamp_opt(t, 0).is_some() {
return Ok(())
}
Err("Could not parse timestamp")