Crates.io | laithean |
lib.rs | laithean |
version | 0.2.0 |
source | src |
created_at | 2022-03-16 02:06:32.917482 |
updated_at | 2022-03-16 02:28:32.005216 |
description | Scottish Gaelic date localization library |
homepage | https://github.com/PokeyOne/laithean |
repository | https://github.com/PokeyOne/laithean |
max_upload_size | |
id | 550910 |
size | 53,870 |
A Rust library for rendering dates in scottish gaelic.
use laithean::Date;
use laithean::month::Month;
fn main() {
let date = Date::new(2022, Month::March, 0);
assert_eq!("Dimàirt 1 Màrt 2022", date.scottish_gaelic(None));
}