aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add markers through february to dataset.HEADmasterHarald Eilertsen2019-01-061-0/+158
|
* Start the dataset at january 1st.Harald Eilertsen2019-01-041-75/+75
|
* Add readme.Harald Eilertsen2018-12-271-0/+50
|
* Move executable to separate dir.Harald Eilertsen2018-12-272-0/+0
|
* Move more functionality to lib.Harald Eilertsen2018-12-262-6/+14
| | | | | Add a constructor for initializing the Primstav object, and a method to get the entry for a given date if the entry exists.
* Begin moving core functionality to lib.Harald Eilertsen2018-12-262-14/+32
|
* Change link representation again, make it a plain map.Harald Eilertsen2018-12-262-35/+33
|
* Add more primstav yamls data.Harald Eilertsen2018-12-261-0/+100
|
* Print links to sources for the marks.Harald Eilertsen2018-12-261-1/+9
|
* Use serde_derive to deserialize primstav data into a struct.Harald Eilertsen2018-12-263-14/+76
| | | | | This makes it much easier to work with the data. Adds some restrictions on the yaml data though, all elements must be present, even if empty.
* Change the way we represents links in the yaml data.Harald Eilertsen2018-12-261-33/+17
| | | | Links should be represented as a list of source: url pairs.
* One more test case for capitalize().Harald Eilertsen2018-12-261-0/+1
|
* capitalize() would fail if first char were not ascii.Harald Eilertsen2018-12-261-2/+11
| | | | Enhanced version using chain iterator.
* 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-252-1/+6
|
* Add a simplistic locale module.Harald Eilertsen2018-12-252-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 Eilertsen2018-12-253-12/+10
| | | | | The Inflector crate did funky things with whitespace and punctuation, which is not desireable to us.
* First commit, working but incomplete.Harald Eilertsen2018-12-256-0/+1023