Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-02-09 | Bump edition to 2021 and introduce rustfmt | Pro | |
2024-02-09 | Cleanup | Pro | |
2024-02-09 | Bump env_logger | Pro | |
Some tests were failing with: env_logger::init should not be called after logger initialized: SetLoggerError(()) | |||
2020-03-05 | Remove unused import | Matthias Beyer | |
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> | |||
2020-03-05 | Replace try!() with ? operator | Matthias Beyer | |
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> | |||
2020-03-05 | Replace failure with thiserror | Matthias Beyer | |
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> | |||
2018-11-07 | Move code to failure as error handling library | Matthias Beyer | |
2018-05-28 | Replace wrong variable in error output of sub_from_moment | Malte Brandy | |
2017-11-24 | Use NaiveDate::from_ymd_opt() / ::and_hms_opt() functions for error safety | Matthias Beyer | |
2017-11-24 | Add out of bounds check and error propagation for NaiveDate::from_ymd() calls | Matthias Beyer | |
* Added recursion limit for error_chain * Added new error for out-of-bounds error * Added IntoTimeType helper trait | |||
2017-11-19 | Split parser into modules | Matthias Beyer | |
The TimeType::parse() function was removed because we don't want that there. It is not that nice, because the interface would return either a TimeType or an Iterator. | |||
2017-11-11 | Replace unimplemented!() matcher with actual pattern | Matthias Beyer | |
2017-11-11 | Merge pull request #3 from matthiasbeyer/parser | Matthias Beyer | |
Parser | |||
2017-11-11 | Merge branch 'minor' | Matthias Beyer | |
2017-11-11 | Fix Bug: Called subtraction fn instead of addition fn | Matthias Beyer | |
2017-11-11 | Fix Bug: Called subtraction fn instead of addition fn | Matthias Beyer | |
2017-11-11 | Add TimeType::parse() | Matthias Beyer | |
2017-10-09 | Add another testcase for adding months over year-borders | Matthias Beyer | |
2017-10-09 | Add another testcase for adding months over year-borders | Matthias Beyer | |
2017-09-29 | Remove result module | Matthias Beyer | |
2017-09-27 | Remove unused variables | Matthias Beyer | |
2017-09-27 | Remove unused imports | Matthias Beyer | |
2017-09-27 | Add tests to add more than one larger unit in the smaller unit | Matthias Beyer | |
2017-09-27 | Add test debug output | Matthias Beyer | |
2017-09-25 | Fix weird addition bug in iterator | Matthias Beyer | |
The problem was the matching: We matched, in the addition branches, for a pair which we then reversed. This caused a strange bug when adding a moment and a minute. The subtraction matching was wrong as well, as it also reversed the order of the arguments. | |||
2017-09-19 | Let the TimeType be PartialEq, Eq, PartialOrd, Ord | Matthias Beyer | |
2017-09-19 | Add tests to test TT::is_in() | Matthias Beyer | |
2017-09-19 | Add tests for testing TT::is_a() | Matthias Beyer | |
2017-09-16 | Add types to check whether TT::Moment is weekday / in month | Matthias Beyer | |
2017-09-16 | Add additional comment to TimeType::end_of_* functions | Matthias Beyer | |
2017-09-16 | Add TimeType::today() | Matthias Beyer | |
2017-09-16 | Add test for end-of-minute | Matthias Beyer | |
2017-09-16 | Add tests for end-of-hour | Matthias Beyer | |
2017-09-16 | Add tests to test end-of-day | Matthias Beyer | |
2017-09-16 | Add end of {day, hour, minute} | Matthias Beyer | |
2017-09-16 | Add test for adjusting over months | Matthias Beyer | |
2017-09-16 | Use get_num_of_days_in_month() for adjusting | Matthias Beyer | |
2017-09-16 | Add tests for end-of-month | Matthias Beyer | |
2017-09-16 | Move utility functions to util package | Matthias Beyer | |
2017-09-16 | Add end-of-month type/calc | Matthias Beyer | |
Adds util module | |||
2017-09-15 | Add tests for TT::end_of_year() | Matthias Beyer | |
2017-09-15 | Add EndOfYear variant to TimeType | Matthias Beyer | |
2017-09-14 | Add tests to test adding incorrect instances to moments | Matthias Beyer | |
2017-09-14 | Add tests to test addition of more fancy values to moment | Matthias Beyer | |
2017-09-12 | Add test to subtract 12 months from a moment | Matthias Beyer | |
2017-09-12 | Fix subtraction: Calculate first, then subtract | Matthias Beyer | |
2017-09-12 | Fix in tests: There is no day/month "0" - the minimum value is 1 | Matthias Beyer | |
2017-09-12 | Make error messages in sub-adjustment tests more verbose | Matthias Beyer | |
2017-09-12 | Make error messages in add-adjustment tests more verbose | Matthias Beyer | |
2017-09-12 | Rewrite sub adjustment | Matthias Beyer | |