Skip to content
This repository has been archived by the owner on Apr 5, 2023. It is now read-only.

upstream updates #2

Draft
wants to merge 210 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
210 commits
Select commit Hold shift + click to select a range
9a83758
Rename variable
mathieuprog Apr 29, 2021
d11954d
Fix warning
mathieuprog Apr 29, 2021
bbe96f7
Update tz database to 2021a
mathieuprog Apr 29, 2021
37d411c
Bump version to 0.13.0
mathieuprog Apr 29, 2021
502a735
Update dependencies
mathieuprog Apr 29, 2021
37e1810
Bump to version 0.14
mathieuprog Apr 29, 2021
1e20af5
Update Readme
mathieuprog May 1, 2021
7fdcc86
Update Readme
mathieuprog May 1, 2021
02587d2
Bump version to 0.15
mathieuprog May 1, 2021
7a361b0
Update Readme
mathieuprog May 1, 2021
5b4ed4f
`Tz.database_version/0`
mathieuprog May 2, 2021
03d86d0
Bump version to v0.16.0
mathieuprog May 2, 2021
fd1d28b
Update Readme
mathieuprog May 6, 2021
6a9e604
Update Readme
mathieuprog May 6, 2021
347468a
Fix UndefinedFunctionError
aptinio May 22, 2021
51bb829
Merge pull request #5 from aptinio/fix-undefined-function-error
mathieuprog May 22, 2021
95da8e4
Bump version to v0.16.1
mathieuprog May 22, 2021
1111adf
Bump version to 0.16.2
mathieuprog May 22, 2021
d15622b
Add test to ensure updater is only started once
mathieuprog Jun 21, 2021
ee30088
Add behaviour Tz.HTTP.HTTPClient
mathieuprog Jun 21, 2021
1cec260
Remove unused function
mathieuprog Jun 21, 2021
cd5b1ab
Fix mint response
mathieuprog Jun 21, 2021
aaded21
Fix
mathieuprog Jun 21, 2021
a04ddfe
Avoid downloading new tzdata database if already downloaded
mathieuprog Jun 21, 2021
6ab442a
Update readme
mathieuprog Jun 21, 2021
21c248b
Add config to specify custom data dir
mathieuprog Jun 21, 2021
ce07509
Fix `:data_dir` config
mathieuprog Jun 22, 2021
d5bb2c0
Fix updater
mathieuprog Jun 24, 2021
830d515
Fix updater
mathieuprog Jun 25, 2021
626183e
Fix updater
mathieuprog Jun 25, 2021
8b90ab2
Bump mint version in readme
mathieuprog Jun 25, 2021
bdbe7cf
Document :data_dir option
mathieuprog Jun 25, 2021
cddcb68
Rename database_version/0 to iana_version/0
mathieuprog Jun 25, 2021
8cc5991
Bump version to 0.17.0
mathieuprog Jun 25, 2021
9c2fd1b
Update readme
mathieuprog Jun 25, 2021
3629308
Fix in readme
mathieuprog Jun 27, 2021
8b6a243
Fix readme code snippet
mathieuprog Jun 30, 2021
8a6ee6f
Fix IanaDataDir.maybe_copy_iana_files_to_custom_dir() crashing
aptinio Jul 27, 2021
571482c
Merge pull request #6 from aptinio/fix-release-priv_dir
mathieuprog Jul 27, 2021
4a3900b
Call `:code.priv_dir/1` at runtime
mathieuprog Jul 27, 2021
abeb461
Bump version to 0.19.0
mathieuprog Jul 27, 2021
3abd18d
Add sponsorship link
mathieuprog Aug 16, 2021
7acd7a8
Bump version to 0.20.0
mathieuprog Aug 16, 2021
3dcd444
Bugfix no periods when using option :reject_time_zone_periods_before_…
mathieuprog Sep 23, 2021
b0ca248
Bump version to 0.20.1
mathieuprog Sep 23, 2021
ee7ae70
Rename tests
mathieuprog Jul 15, 2022
efd3249
Add Benchee
mathieuprog Jul 15, 2022
3ae25df
Add comments
mathieuprog Jul 15, 2022
44b0840
Call optional callback when an IANA update is
mathieuprog Jul 15, 2022
3600eef
Bugfix
mathieuprog Jul 15, 2022
b7ccb44
Add option :interval_in_days for schedulers
mathieuprog Jul 15, 2022
14bc590
Bugfix
mathieuprog Jul 15, 2022
f005901
Fix ElixirLS Dialyzer warnings
mathieuprog Jul 16, 2022
b6b79a8
Update tzdata version to 2022a
mathieuprog Jul 16, 2022
ecfbdc9
Bump version to 0.21 and update deps
mathieuprog Jul 16, 2022
a5565d6
Fix ElixirLS Dialyzer warning
mathieuprog Jul 16, 2022
1ddc7e5
Update Readme
mathieuprog Jul 16, 2022
29e4b0a
Add Changelog
mathieuprog Jul 16, 2022
71db5e0
Evaluate custom data dir at runtime
mathieuprog Jul 19, 2022
6d93802
Bump version to 0.21.1
mathieuprog Jul 19, 2022
5b4d080
Update README.md
mathieuprog Jul 19, 2022
2abdf55
Add mix task to download the iana tz data for a
mathieuprog Aug 31, 2022
e605507
Bump version to 0.22.0
mathieuprog Aug 31, 2022
f7650dc
Change folder structure
mathieuprog Aug 31, 2022
c7f7078
merge
mathieuprog Aug 31, 2022
19e6a70
Update readme
mathieuprog Sep 1, 2022
155acae
Update readme
mathieuprog Sep 2, 2022
e0cf491
Fix log message
mathieuprog Sep 26, 2022
2876d78
Use binary instead of charlist
mathieuprog Oct 1, 2022
aaa7293
Fix mix task
mathieuprog Oct 1, 2022
142ee30
Fix warnings by using compile_env/3 where needed
mathieuprog Nov 8, 2022
a517dcd
Add asdf .tool-versions in .gitignore
mathieuprog Nov 8, 2022
f6b3370
Update deps
mathieuprog Nov 8, 2022
32cf511
Update tzdata version to 2022f
mathieuprog Nov 8, 2022
2771c67
Don't force depending on an http client
mathieuprog Nov 8, 2022
7304c7b
Rename options
mathieuprog Nov 8, 2022
56f899d
Fix test
mathieuprog Nov 8, 2022
0fef735
Raise if unknown env variable
mathieuprog Nov 8, 2022
18d1cd6
Fix error message
mathieuprog Nov 8, 2022
bd1e50e
Fix error message
mathieuprog Nov 8, 2022
10bfe01
Fix error message
mathieuprog Nov 8, 2022
56f7e4e
Bump version to 0.23.0 and tzdata to 2022f
mathieuprog Nov 9, 2022
e83a292
Fix license identifier
mathieuprog Nov 9, 2022
5ff83aa
Update docs
mathieuprog Nov 9, 2022
cb0f84d
Improve readme
mathieuprog Nov 9, 2022
ec76b1e
Update docs
mathieuprog Nov 9, 2022
06ac385
Clean code
mathieuprog Nov 9, 2022
7857da1
Add zoneinfo in list of alternative libraries
mathieuprog Nov 9, 2022
805b5f2
Remove inessential clauses
mathieuprog Nov 9, 2022
8dbf23b
Handle year < 0 and convert non-iso calendar
mathieuprog Nov 9, 2022
3cedd26
Fix: return first period when negative year given
mathieuprog Nov 9, 2022
b1a5de8
Test negative year
mathieuprog Nov 9, 2022
12aea72
Test non-iso datetime
mathieuprog Nov 9, 2022
6f7d83a
Bump to version 0.24
mathieuprog Nov 9, 2022
19e72b0
Update readme
mathieuprog Nov 9, 2022
dbfacd7
Update readme
mathieuprog Nov 9, 2022
390cbf7
Update readme
mathieuprog Nov 9, 2022
2b10803
Update readme
mathieuprog Nov 9, 2022
ba520ea
Update readme
mathieuprog Nov 9, 2022
5de48f6
Update readme
mathieuprog Nov 10, 2022
644c38f
Add acknowledgments
mathieuprog Nov 10, 2022
cb2f715
Update README.md
mathieuprog Nov 10, 2022
6c031dc
Update readme
mathieuprog Nov 10, 2022
ee07e71
Update readme
mathieuprog Nov 10, 2022
6fd8248
Update readme
mathieuprog Nov 10, 2022
522f79a
Include tzdb_test in readme
mathieuprog Nov 12, 2022
b4e7200
Update README.md
mathieuprog Nov 13, 2022
3484b0c
Update readme
mathieuprog Nov 27, 2022
3c9707e
Add :iana_version option
mathieuprog Nov 27, 2022
13115c2
Do not delete the tzdata directory that is forced
mathieuprog Nov 27, 2022
7242556
Allow :iana_version option
mathieuprog Nov 27, 2022
2ef51d3
Fix support for :iana_version option
mathieuprog Nov 27, 2022
7abae06
Fix support for :iana_version option
mathieuprog Nov 27, 2022
6b2358b
Fix support for :iana_version option
mathieuprog Nov 27, 2022
e64ad97
Add TODOs
mathieuprog Nov 27, 2022
069e270
Fix support for :iana_version option
mathieuprog Nov 28, 2022
f5872fa
Fix support for :iana_version option
mathieuprog Nov 29, 2022
b89274b
Add log
mathieuprog Nov 29, 2022
a601064
Add mix task to recompile the time zone periods
mathieuprog Nov 29, 2022
d13e8f4
Remove compiler mix task
mathieuprog Nov 29, 2022
f106075
Raise if wrong configuration
mathieuprog Nov 29, 2022
f7702b7
Clean code
mathieuprog Nov 30, 2022
c0b9f59
Fix copy tzdata dir
mathieuprog Nov 30, 2022
55aaf89
Clean code
mathieuprog Dec 1, 2022
e277270
Bugfix
mathieuprog Dec 1, 2022
923f1a1
Update log
mathieuprog Dec 1, 2022
e07c79e
Update logs
mathieuprog Dec 1, 2022
82ac874
Update log
mathieuprog Dec 1, 2022
ecdc4f3
Update logs
mathieuprog Dec 1, 2022
3d3d27e
Improve updater
mathieuprog Dec 1, 2022
1a2fc25
Allow 1.x for castore
dbernheisel Jan 24, 2023
3ad6d41
Merge pull request #15 from dbernheisel/db-relax-castore
mathieuprog Jan 24, 2023
18230d2
Fix warning
mathieuprog Mar 23, 2023
8856bfa
Bugfix
mathieuprog Mar 23, 2023
773e23c
Update tzdata to 2023a
mathieuprog Mar 23, 2023
fb32cee
Bump version to 0.25.0
mathieuprog Mar 23, 2023
838a456
Update readme
mathieuprog Mar 23, 2023
593487f
Update CHANGELOG.md
mathieuprog Mar 23, 2023
036c4d8
Add Mint client options
gabrielgiordan Mar 23, 2023
4c20550
Bump version
gabrielgiordan Mar 23, 2023
1d6b2c4
Merge pull request #17 from gabrielgiordan/add-mint-client-opts
mathieuprog Mar 24, 2023
c929c0f
Update CHANGELOG.md
mathieuprog Mar 24, 2023
8c85b97
Update CHANGELOG.md
mathieuprog Mar 24, 2023
2a6fb84
Update CHANGELOG.md
mathieuprog Mar 24, 2023
075dd18
Update README.md
mathieuprog Mar 26, 2023
1162819
Check that all required tzdata files are presents
mathieuprog Apr 1, 2023
9218213
Make sure value given to :iana_version config is a
mathieuprog Apr 1, 2023
11a71e0
Fix regression
mathieuprog Apr 1, 2023
e9bf23e
Change waning log to error
mathieuprog Apr 1, 2023
9388eb7
Improve :iana_version config
mathieuprog Apr 1, 2023
7819e1a
Fix typo
mathieuprog Apr 1, 2023
17390b1
Update deps
mathieuprog Apr 1, 2023
c58e7d2
Update tzdata version to 2023c
mathieuprog Apr 1, 2023
206216d
Document the :iana_version config
mathieuprog Apr 1, 2023
73674df
Add Changelog entry for 0.26.0
mathieuprog Apr 1, 2023
959964d
Bump version to 0.26.0
mathieuprog Apr 1, 2023
9ac0695
Bump version to 0.26.1
mathieuprog Apr 1, 2023
a8201dd
Fix error message
mathieuprog Apr 1, 2023
264a0e1
Improve error message when updating while
mathieuprog Apr 1, 2023
f396f0b
Fix readme
mathieuprog Apr 1, 2023
3a4b635
Fix readme
mathieuprog Apr 1, 2023
1d9d770
Improve readme
mathieuprog Apr 1, 2023
225f6ab
Update readme
mathieuprog Apr 1, 2023
c7c3f1b
Update README.md
mathieuprog Apr 2, 2023
d8e8d56
Conditionally use Logger.warning or Logger.warn
kipcole9 May 22, 2023
f95a7e7
Conditionally add Calendar callbacks to Holocene
kipcole9 May 22, 2023
b774002
Merge pull request #20 from kipcole9/logger_warning
mathieuprog May 30, 2023
9c013d4
Update Changelog
mathieuprog May 30, 2023
9dcc418
Update deps
mathieuprog May 30, 2023
283ef61
Bump version to 0.26.2
mathieuprog May 30, 2023
06ee399
https://github.com/mathieuprog/tz/issues/22
mayel Nov 2, 2023
14b700b
Update gitignore
mathieuprog Dec 9, 2023
75cce73
Fix bug #24
mathieuprog Dec 9, 2023
e18d1b0
Bump version to 0.26.3
mathieuprog Dec 9, 2023
43df7b8
Fix bug #24
mathieuprog Dec 9, 2023
24caa45
Bump version to 0.26.4
mathieuprog Dec 9, 2023
b16aeda
Merge pull request #23 from mayel/master
mathieuprog Dec 9, 2023
27e631a
Fix callback type
mathieuprog Dec 9, 2023
a5077dc
Bump version to 0.26.5
mathieuprog Dec 9, 2023
50dcf63
Update deps
wkirschbaum Jun 4, 2024
a107f0d
Format project to fix warnings
wkirschbaum Jun 4, 2024
a638363
Merge pull request #26 from floatpays/master
mathieuprog Jul 19, 2024
7f462b8
Fix warnings on Support.HoloceneCalendar
mathieuprog Jul 19, 2024
39172d6
Update tz db to 2024a
mathieuprog Jul 19, 2024
c57951f
Bump version to 0.26.6
mathieuprog Jul 19, 2024
840fc16
Update deps
mathieuprog Jul 19, 2024
0096ff0
Update Changelog
mathieuprog Jul 19, 2024
a90c563
Update readme
mathieuprog Jul 26, 2024
78c0f78
Add next_period/1
mathieuprog Jul 29, 2024
f4a1fd5
Bump version to 0.27.0
mathieuprog Jul 29, 2024
929c037
Fix test name
mathieuprog Jul 29, 2024
79b3a42
Fix next_period/1 when no periods found
mathieuprog Jul 29, 2024
8651ea0
Bump version to 0.27.1
mathieuprog Jul 29, 2024
2b0c115
Support full month names in IANA file
mathieuprog Sep 6, 2024
424fcef
Use tzdata2024b files
mathieuprog Sep 6, 2024
f7f7080
Bump version to 0.27.2
mathieuprog Sep 6, 2024
047caca
Update readme
mathieuprog Sep 6, 2024
b880e3c
Clean
mathieuprog Sep 6, 2024
977472b
Test use of %z in iana FORMAT column
mathieuprog Sep 6, 2024
fb0b0d4
Handle %z in FORMAT column of IANA file
mathieuprog Sep 7, 2024
34d9a97
Support full day of week names
mathieuprog Sep 7, 2024
f245b67
Add zone abbreviation validation
mathieuprog Sep 7, 2024
a0dfd5f
Bump version to 0.27.3
mathieuprog Sep 7, 2024
81dca6e
Update gitignore
mathieuprog Sep 8, 2024
5965bec
Prevent periodic updates to crash the app on init
mathieuprog Sep 9, 2024
0bfe44f
Ensure watcher doesn't crash the app on init
mathieuprog Sep 9, 2024
abc48b7
Bump version to 0.28.0
mathieuprog Sep 9, 2024
59424eb
Bump version to 0.28.0
mathieuprog Sep 9, 2024
12d7e2a
Improve logs
mathieuprog Sep 9, 2024
7ac70b6
Bump version to 0.28.1
mathieuprog Sep 9, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
github: mathieuprog
custom: "https://paypal.me/mathieudecaffmeyer"
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# asdf
.tool-versions

.history

# IntelliJ IDEA
/.idea/
*.iml
Expand Down Expand Up @@ -26,3 +31,5 @@ erl_crash.dump
# Ignore package tarball (built via "mix hex.build").
tz-*.tar

# macOS
.DS_Store
48 changes: 48 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Changelog

## 0.28.x

* Ensure periodic updater and watcher don't crash the app on GenServer init.

## 0.27.x

* Add `Tz.PeriodsProvider.next_period/1`.

## 0.26.x

* Add `:iana_version` config.
* Address Elixir 1.15 warning messages.
* Address Elixir 1.17 warning messages.

## 0.25.x

* Add custom options for default Mint HTTP client.
* Fix the bug that occurs when the maximum available year in an IANA rule exceeds
the limit set by the 'max' rule (happened for Palestine).
* Fix warnings.

## 0.24.x

* Handle negative years.
* Convert non-iso datetime to iso.

## 0.23.x

* Change option names:
* `:reject_time_zone_periods_before_year` to<br>
`:reject_periods_before_year`.
* `:build_time_zone_periods_with_ongoing_dst_changes_until_year` to<br>
`:build_dst_periods_until_year`.
* Add a mix task to download the IANA time zone data for a given version.
* Fix warnings.

## 0.22.x

* Add a mix task to download the IANA time zone data for a given version.

## 0.21.x

* Allow to configure the schedulers:
* `Tz.UpdatePeriodically` may receive the option `:interval_in_days`.
* `Tz.WatchPeriodically` may receive the options `:interval_in_days` and `on_update`.
* Fixed: schedulers were only running once.
Loading