bitwarden_exporters::cxf::import

Function convert_date

Source
fn convert_date(ts: Option<u64>) -> DateTime<Utc>
Expand description

Convert a CXF timestamp to a DateTime<Utc>.

If the timestamp is None, the current time is used.