pub fn serialize_rfc3339<S>(
    t: &OffsetDateTime,
    serializer: S
) -> Result<S::Ok, S::Error> where
    S: Serializer
Expand description

helper to serialize created_on and updated_on in the correct format (default time serde implementation seems to use a different format)

Errors

This will return an error if the date time can not be formatted as an RFC3339 date time or the resulting string can not be serialized