#hyperlane #day #language #time #format

hyperlane-time

A library for fetching the current time based on the system's locale settings

10 releases

Uses new Rust 2024

new 0.2.0 Mar 20, 2025
0.1.0 Mar 16, 2025
0.0.9 Mar 11, 2025
0.0.6 Feb 9, 2025
0.0.1 Dec 29, 2024

#4 in #hyperlane

Download history 199/week @ 2024-12-26 405/week @ 2025-01-02 329/week @ 2025-01-09 469/week @ 2025-01-16 15/week @ 2025-01-23 51/week @ 2025-01-30 282/week @ 2025-02-06 215/week @ 2025-02-13 171/week @ 2025-02-20 535/week @ 2025-02-27 372/week @ 2025-03-06 488/week @ 2025-03-13

1,600 downloads per month
Used in 8 crates (5 directly)

MIT license

15KB
239 lines

hyperlane-time

Official Documentation

Api Docs

A library for fetching the current time based on the system's locale settings.

Installation

To use this crate, you can run cmd:

cargo add hyperlane-time

Use

use hyperlane_time::*;
println!("Now time: {}", current_time());
println!("Now day: {}", current_date());
println!("Now date: {}", current_date_gmt());

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contributing

Contributions are welcome! Please open an issue or submit a pull request.

Contact

For any inquiries, please reach out to the author at ltpp-universe root@ltpp.vip.

No runtime deps