Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | One more test case for capitalize(). | Harald Eilertsen | 2018-12-26 | 1 | -0/+1 |
| | |||||
* | capitalize() would fail if first char were not ascii. | Harald Eilertsen | 2018-12-26 | 1 | -2/+11 |
| | | | | Enhanced version using chain iterator. | ||||
* | Add Norwegian Nynorsk locale. | Harald Eilertsen | 2018-12-25 | 1 | -0/+6 |
| | |||||
* | Fetch locale from program environment. | Harald Eilertsen | 2018-12-25 | 1 | -1/+13 |
| | |||||
* | Add locale::get() and make EN default locale. | Harald Eilertsen | 2018-12-25 | 2 | -1/+6 |
| | |||||
* | Add a simplistic locale module. | Harald Eilertsen | 2018-12-25 | 2 | -1/+47 |
| | | | | | | | | 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. | ||||
* | Replace Inflector crate with homebrewed capitalize function. | Harald Eilertsen | 2018-12-25 | 3 | -12/+10 |
| | | | | | The Inflector crate did funky things with whitespace and punctuation, which is not desireable to us. | ||||
* | First commit, working but incomplete. | Harald Eilertsen | 2018-12-25 | 6 | -0/+1023 |