mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-24 09:40:52 +00:00
std::time::SystemTime returns time in UTC. That's great, but a lot of times we want local time. Unfortunately, we can't use `chrono` to do that, because chrono figures out what your time zone is usind `libc`, which is a thing Xous doesn't have. the `LocalTime` server is Xous' solution to that problem. it returns the corret time offset based on the time zone. You can still use `chrono` to convert the returned time into strings and to compute durations. |
||
|---|---|---|
| .. | ||
| locales | ||
| src | ||
| Cargo.toml | ||