Function cargo_registry::encode_time
[−]
[src]
pub fn encode_time(ts: Timespec) -> String
Convenience function for getting a time in RFC 3339 format.
Example: 2012-02-22T14:53:18Z
. Used for returning time values in JSON API responses.