Joseph T. Lyons
a5f7600f6f
Fix typos ( #2842 )
2021-01-02 17:24:32 +13:00
Jonathan Turner
6951fb440c
Remove it expansion ( #2701 )
...
* Remove it-expansion, take 2
* Cleanup
* silly update to test CI
2020-10-26 19:55:52 +13:00
Jonathan Turner
986b427038
Add modulo operator and simplify in/not-in ( #2505 )
2020-09-07 12:12:55 +12:00
Matt Clarke
c59f860b48
Renamed time units ( #2356 )
...
* Changed time units as outlined in issue #2353 .
Also applied changes to to_str for Unit - not sure if that was what was wanted.
* Forgot the tests!
* Updated primitive.rs to match changes.
* Updated where example to match changes.
* And the html test!
2020-08-16 07:03:28 +12:00
Shaurya Shubham
ffe3e2c16b
Rename calc
to math eval
and allow it to optionally take an expression as an argument ( #2195 )
...
* Rename `calc` to `math eval` and allow it to optionally take the expression as an argument
* Moved calc tests to math eval
Also added 2 tests and changed 1 test
* Move calc docs to math eval
2020-07-18 16:11:19 +12:00
Jonathan Turner
6820d70e7d
make duration pretty print clearer ( #2150 )
...
* make duration pretty print clearer
* fix typo and tests
* fix typo and tests
2020-07-11 09:06:52 +12:00
Pierre-André Gagnon
e07a9e4ee7
1747 add ns to duration ( #2128 )
...
* Added nanos to Duration
* Removed unwraps
* Added nanos to Duration
* Removed unwraps
* Fixed errors
* Removed unwraps
* Changed serialization to String
* Fixed Date and Duration comparison
2020-07-11 05:48:11 +12:00
bailey-layzer
7532618bdc
Add error for division by zero using "=" ( #2002 ) ( #2030 )
...
* error for division by zero with =
* cargo fmt
* add helper zero_division_error
* tests for zero division error
* fix test names (zero div error)
2020-06-22 08:50:43 +12:00
Joseph T Lyons
088901b24f
Rename average to avg
2020-06-19 18:59:00 -05:00
Andrés N. Robalino
5f9de80d9b
Math#media - ability to compute median value.
2020-06-18 16:59:43 -05:00