Crates.io | ako |
lib.rs | ako |
version | 0.0.3 |
source | src |
created_at | 2024-09-06 18:45:24.51696 |
updated_at | 2024-09-29 19:17:20.992208 |
description | Ako is a Rust crate that offers a practical and human-friendly approach to creating, manipulating, formatting and converting dates, times and timestamps. |
homepage | |
repository | https://github.com/transact-rs/ako |
max_upload_size | |
id | 1366319 |
size | 291,076 |
Ako 🕐 is a Rust crate that offers a practical and human-friendly approach to creating, manipulating, formatting and converting dates, times, and timestamps.
When talking about time, we often speak with a large amount of implied context. We might say, “I’ll be there tomorrow at 7.” To understand that, we need to interpret this shared understanding of the hidden context. What time zone? Is that in the morning or the afternoon?
To reliably have reproducible behavior, we need to ensure we are communicating the correct context when we work with time in programming. Many libraries tend to either default to what the author is most familiar with and/or leave unimplemented in that context. A common example is the calendar system. It’s often left out-of-date and time libraries due to the complexity. While one may implicitly understand when “March 12th” is, and what month March is, that is only on one calendar (the gregorian calendar), other parts of the world can and often do use other calendar systems.
Ako was written to serve as the date and time library in Rust for as many people, in as many parts of the world as reasonably possible. Ako goes far and above the scope of many libraries across many languages.
Licensed under either of
Apache License, Version 2.0 (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0) MIT license (LICENSE-MIT or https://opensource.org/licenses/MIT) at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.