aboutsummaryrefslogtreecommitdiffstats
path: root/src/locale.rs
Commit message (Collapse)AuthorAgeFilesLines
* Add Norwegian Nynorsk locale.Harald Eilertsen2018-12-251-0/+6
|
* Fetch locale from program environment.Harald Eilertsen2018-12-251-1/+13
|
* Add locale::get() and make EN default locale.Harald Eilertsen2018-12-251-0/+4
|
* Add a simplistic locale module.Harald Eilertsen2018-12-251-0/+44
For now only handles formatting the date string. Not sure how I will provide for different date formats, as the format string has to be a static string literal and can't be passed in from a variable. Would probably be better to interface the locale functionality of the OS instead.