pub fn parse_timestamp(s: &str) -> Result<Timestamp, ParseError>
Parse an RFC 3339 timestamp string.
See RFC 3339.
Returns a chrono::ParseError if s is not a valid RFC 3339 timestamp.
chrono::ParseError
s
use api_bones::common::parse_timestamp; let ts = parse_timestamp("2026-03-09T15:00:00Z").unwrap(); assert_eq!(ts.to_rfc3339(), "2026-03-09T15:00:00+00:00");