#tempotime is a Rust library for working with dates and times in a clean, easy-to-read way ๐ช
6 messages ยท Page 1 of 1 (latest)
https://docs.rs/tempotime/latest/tempotime/struct.DateTime.html#method.start_of
i think thats anti-idiomatic using &str for a thing that could be an enum
sadly rust doesnt have string unions like typescript
but! we have use Unit::Day