laithean

Crates.iolaithean
lib.rslaithean
version0.2.0
sourcesrc
created_at2022-03-16 02:06:32.917482
updated_at2022-03-16 02:28:32.005216
descriptionScottish Gaelic date localization library
homepagehttps://github.com/PokeyOne/laithean
repositoryhttps://github.com/PokeyOne/laithean
max_upload_size
id550910
size53,870
Mateo Carreras (PokeyOne)

documentation

README

Làithean

A Rust library for rendering dates in scottish gaelic.

Example

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));
}
Commit count: 14

cargo fmt