chrono_lc 0.1.7

Localised date and time formatting library for Rust, based on chrono
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::lazy_static;
use std::collections::HashMap;

#[derive(Debug)]
pub struct Locales {
	pub short_months: HashMap<String, Vec<&'static str>>,
	pub long_months: HashMap<String, Vec<&'static str>>,
	pub short_weekdays: HashMap<String, Vec<&'static str>>,
	pub long_weekdays: HashMap<String, Vec<&'static str>>,
	pub ampm: HashMap<String, Vec<&'static str>>,
}

#[rustfmt::skip]
include!(concat!(env!("OUT_DIR"), "/locales.rs"));