* Replace usages of `Timex.to_unix` with native API * Wrap call to `Timex.is_valid_timezone?` * Wrap calls to `Timex.today(tz)` * Replace `Timex.today()` with `Date.utc_today()` * Replace `Timex.now()` with `DateTime.utc_now()` * Replace `Timex.compare` with `Date.compare` * Wrap `Timex.diff` calls * Replace `Timex.Timezone.convert` with `DateTime.shift_zone!` * Wrap `Timex.parse!` * Replace `Timex.to_date` with native API calls * Replace `Timex.beginning|end_of...` with native API calls for Date * Wrap `Timex.beginning|end_of...` for DateTimes and Dates for years * Replace `Timex.format(!)` with native API calls * Replace `Timex.to_naive_datetime` with native API calls * Wrap time humanizing routines using Timex * Remove unnecessary `use Timex` instances * Replace `Timex.shift` with native API calls * Make `QueryParser.parse_date` handle gaps and ambiguities gracefully * Replace `Timex.now(tz)` with `DateTime.now!(tz)` * Use a more suitable Date function for comparison (h/t @aerosol) |
||
|---|---|---|
| .. | ||
| token_test.exs | ||
| tokens_test.exs | ||