time-rs / time

The most used Rust library for date and time handling.
https://time-rs.github.io
Apache License 2.0
1.09k stars 273 forks source link

How parse ts_seconds? #578

Closed cemremengu closed 1 year ago

cemremengu commented 1 year ago

Chrono has a serde definition ts_seconds used like #[serde(with = "ts_seconds")] to parse unix seconds to UTC time in structs.

Is there something like this?

jhpratt commented 1 year ago

https://time-rs.github.io/api/time/serde/timestamp/index.html