Commit graph

22 commits

Author SHA1 Message Date
c5beb34614 Add dependencies 2016-06-09 15:41:42 +02:00
b68bd7ef8e Impl Display for DiaryId 2016-06-08 19:36:13 +02:00
de9d933a6b Add DiaryId::now(name) to create DiaryId at current time 2016-06-08 13:59:41 +02:00
857daa1c99 Add Diary::name() getter 2016-06-08 13:59:41 +02:00
ecba4e670f Add Diary::new_entry_by_id()
to generate a new entry from a DiaryId object.

Rewrite Diary::new_entry_today() to use this new functionality for more
DRY code.
2016-06-08 13:59:41 +02:00
7c50dd88b5 Impl Default for DiaryId 2016-06-08 13:59:41 +02:00
b04b6e3d24 Add setters for DiaryId type 2016-06-08 13:59:41 +02:00
dc07abdd72 Fix Into<String> for DiaryId to contain padding zeroes 2016-06-07 20:02:18 +02:00
a29ea121a0 Reimplement FromStoreId::from_storeid() for DiaryId 2016-06-07 20:02:18 +02:00
0318117b6c Add missing imports 2016-06-04 15:34:02 +02:00
14a4b786e8 Enable lints 2016-06-04 15:34:02 +02:00
ef86c5e1ff Add config module 2016-06-04 15:34:02 +02:00
0363a6a4d4 Add Diary type 2016-06-04 15:34:02 +02:00
97c710baf8 Add modules in lib.rs 2016-06-04 15:34:02 +02:00
2f3a52b2ab Add IsInDiary trait 2016-06-04 15:34:02 +02:00
f1be77081c Add diary iterator 2016-06-04 15:34:02 +02:00
6067ccb46a Add result module 2016-06-04 15:34:02 +02:00
fa370facf3 Add error module 2016-06-04 15:34:02 +02:00
735fcc93c5 Add Entry type 2016-06-04 15:34:02 +02:00
41f0f63c67 Add DiaryId type 2016-06-04 15:34:02 +02:00
243aeb5e72 Add dependencies 2016-06-04 15:34:02 +02:00
6f31e0f821 libimagdiary: init 2016-06-04 15:34:02 +02:00