Skip to content

Commit

Permalink
release of v0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gugod committed May 28, 2023
1 parent 54f60ee commit f8a00c0
Show file tree
Hide file tree
Showing 8 changed files with 29 additions and 21 deletions.
6 changes: 3 additions & 3 deletions Build.PL
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# This Build.PL for Date-Holidays-TW was generated by mbtiny 0.029.
use 5.006;
use Module::Build::Tiny 0.034;
# This Build.PL for Date-Holidays-TW was generated by mbtiny 0.041.
use 5.008;
use Module::Build::Tiny 0.039;
Build_PL();
3 changes: 3 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
v0.5.0 2023-05-28T23:38:41+0900
- Add calendar data of 2024

v0.4.0 2022-06-15T20:34:11+0900
- Add calendar data of 2023

Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This software is Copyright (c) 2022 by Kang-min Liu C<< <[email protected]> >>, Wei-Hon Chen.
This software is Copyright (c) 2023 by Kang-min Liu C<< <[email protected]> >>, Wei-Hon Chen.

This is free software, licensed under:

Expand Down
1 change: 1 addition & 0 deletions MANIFEST
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ t/2018.t
t/2021.t
t/2022.t
t/2023.t
t/2024.t
t/simple.t
13 changes: 7 additions & 6 deletions META.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"Wei-Hon Chen"
],
"dynamic_config" : 0,
"generated_by" : "App::ModuleBuildTiny version 0.029",
"generated_by" : "App::ModuleBuildTiny version 0.041",
"license" : [
"mit"
],
Expand All @@ -17,12 +17,12 @@
"prereqs" : {
"configure" : {
"requires" : {
"Module::Build::Tiny" : "0.034"
"Module::Build::Tiny" : "0.039"
}
},
"develop" : {
"requires" : {
"App::ModuleBuildTiny" : "0.029"
"App::ModuleBuildTiny" : "0.041"
}
},
"runtime" : {
Expand All @@ -33,14 +33,15 @@
},
"test" : {
"requires" : {
"App::Yath" : "0",
"Test2::V0" : "0"
}
}
},
"provides" : {
"Date::Holidays::TW" : {
"file" : "lib/Date/Holidays/TW.pm",
"version" : "v0.4.0"
"version" : "v0.5.0"
}
},
"release_status" : "stable",
Expand All @@ -54,8 +55,8 @@
"web" : "https://github.com/perltaiwan/Date-Holidays-TW"
}
},
"version" : "v0.4.0",
"x_serialization_backend" : "JSON::PP version 4.06",
"version" : "v0.5.0",
"x_serialization_backend" : "JSON::PP version 4.07",
"x_spdx_expression" : "MIT",
"x_static_install" : "1"
}
9 changes: 5 additions & 4 deletions META.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ author:
- 'Kang-min Liu C<< <[email protected]> >>'
- 'Wei-Hon Chen'
build_requires:
App::Yath: '0'
Test2::V0: '0'
configure_requires:
Module::Build::Tiny: '0.034'
Module::Build::Tiny: '0.039'
dynamic_config: 0
generated_by: 'App::ModuleBuildTiny version 0.029, CPAN::Meta::Converter version 2.150010'
generated_by: 'App::ModuleBuildTiny version 0.041, CPAN::Meta::Converter version 2.150010'
license: mit
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
Expand All @@ -17,14 +18,14 @@ name: Date-Holidays-TW
provides:
Date::Holidays::TW:
file: lib/Date/Holidays/TW.pm
version: v0.4.0
version: v0.5.0
requires:
DateTime: '0'
DateTime::Calendar::Chinese: '0'
resources:
bugtracker: https://github.com/perltaiwan/Date-Holidays-TW/issues
repository: https://github.com/perltaiwan/Date-Holidays-TW.git
version: v0.4.0
version: v0.5.0
x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
x_spdx_expression: MIT
x_static_install: '1'
14 changes: 8 additions & 6 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,12 @@ DESCRIPTION
whether the given date is an holiday or not -- which is not implemented
at this version.

The current implementation includes all known holidays of year 2019 and
2020 as a lookup table and should therefore correctly determine
holidays in those 2 years. It should also determine most of the future
updates correct by some basic compuation, except for the ones generated
by the weekend-compensation rule.
The current implementation includes all known holidays from year 2013
and 2024 in a lookup table and should therefore correctly determine
holidays in those years. It should also determine most of the future
holidays correctly with some basic compuation, except for the ones
generated by the weekend-compensation rules, which is somewhat
ambiguous.

Conventionally the holiday calendar for the next year is announcend at
the end of June and we could start to mix the new information into the
Expand Down Expand Up @@ -85,7 +86,8 @@ METHODS

SEE ALSO

Date::Holidays, https://www.dgpa.gov.tw/informationlist?uid=30
Date::Holidays, https://www.dgpa.gov.tw/informationlist?uid=30,
https://data.gov.tw/dataset/14718

AUTHOR

Expand Down
2 changes: 1 addition & 1 deletion lib/Date/Holidays/TW.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package Date::Holidays::TW;
use strict;
use utf8;

our $VERSION = v0.4.0;
our $VERSION = v0.5.0;

use Exporter 'import';
our @EXPORT_OK = qw(is_tw_holiday tw_holidays);
Expand Down

0 comments on commit f8a00c0

Please sign in to comment.