forked from bitwalker/timex
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Version 2.0.0. See commit details for more info.
- New Date, AmbiguousDateTime, and AmbiguousTimezoneInfo types - All non-bang APIs now return error tuples instead of raising exceptions - Soft deprecation of abbreviated unit names like :secs - All unit names are now consistent across the API - **Breaking**: Removal of ms field of DateTime, replaced with millisecond - **Breaking**: Date API has been moved to Timex module - Soft deprecation of `from` API, use the new `from_*` variants - **Breaking**: Removal of DateFormat and DateConvert aliases, use Timex module instead. - Reorganization of the codebase to be more sane - Rewrite of all typespecs and docs - APIs are now very strict about validating arguments, invalid arguments will produce an error tuple like {:error, term}. - Many more tests - Major improvements to the shifting and diffing code
- Loading branch information
Showing
78 changed files
with
6,199 additions
and
3,840 deletions.
There are no files selected for viewing
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,4 @@ _build/ | |
erl_crash.dump | ||
bench/snapshots | ||
priv/tmp_downloads | ||
cover/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,14 @@ | ||
language: elixir | ||
sudo: false | ||
elixir: | ||
- 1.0.5 | ||
- 1.1.0 | ||
- 1.2.0 | ||
otp_release: | ||
- 18.0 | ||
- 18.1 | ||
script: | ||
- "MIX_ENV=test mix do deps.get, compile, coveralls.travis" | ||
after_script: | ||
- mix deps.get --only docs | ||
- MIX_ENV=docs mix inch.report | ||
- mix deps.get | ||
- MIX_ENV=test mix inch.report | ||
notifications: | ||
recipients: | ||
- [email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.