-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* DateHelper DateTime Support * Add mix_test_watch as dev dep * Simplify date_helper with extracted add/3 and days_in_year/1 * Handle daylight savings start and end calculations * Fix formatting issues * Use DateTime.from_naive/2 to determine ambiguity * Remove private as dep * Reinstate date type in DateChecker * Replace all DateHelper.date with DateChecker.date in date_checker * Change to using if, instead of case, in date_helper.add/3 * Fix inc_year/1 and dec_year/1 in date_helper * Move time zone database setup to config.exs * Replace all :calendar.day_of_the_week with Date.day_of_week in date_helper * Simplify DateHelper.dec_month/1 * Address lingering issues from code review --------- Co-authored-by: Jonatan Männchen <[email protected]>
- Loading branch information
Showing
5 changed files
with
304 additions
and
87 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import Config | ||
|
||
config :elixir, :time_zone_database, Tz.TimeZoneDatabase |
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.