[frameworks-kholidays] [Bug 461282] Add Cuba holidays
Allen Winter
bugzilla_noreply at kde.org
Sat Feb 18 16:12:18 GMT 2023
https://bugs.kde.org/show_bug.cgi?id=461282
Allen Winter <winter at kde.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Latest Commit| |https://invent.kde.org/fram
| |eworks/kholidays/commit/7d5
| |6bb5272a95c2976f5028918650f
| |f1065034f3
Resolution|--- |FIXED
--- Comment #4 from Allen Winter <winter at kde.org> ---
Git commit 7d56bb5272a95c2976f5028918650ff1065034f3 by Allen Winter, on behalf
of Alois Spitzbart.
Committed on 18/02/2023 at 16:12.
Pushed by winterz into branch 'kf5'.
Kf5 add cuba holidays
Added two files for the holidays of cuba. Based on the dates in
[https://bugs.kde.org/show_bug.cgi?id=461282](https://bugs.kde.org/show_bug.cgi?id=461282).
Additional added a parameter in description to get complete output for test.
Here is the output of the tests:
```
QDEBUG : HolidayRegionTest::testRegions()
QDEBUG : HolidayRegionTest::testRegions() This regionCode = "cu_en"
QDEBUG : HolidayRegionTest::testRegions() Is valid? = true
QDEBUG : HolidayRegionTest::testRegions() Country code = "CU"
QDEBUG : HolidayRegionTest::testRegions() Language code = "en"
QDEBUG : HolidayRegionTest::testRegions() Name = "Cuba"
QDEBUG : HolidayRegionTest::testRegions() Description = "State holiday file
for Cuba"
QDEBUG : HolidayRegionTest::testRegions()
QDEBUG : HolidayRegionTest::testRegions() Parsing region = "cu_en" year =
2023 calendar = "gregorian"
QDEBUG : HolidayRegionTest::testRegions() Date = "2023-01-01" Duration = 1 Name
= "Liberation Day " Category = ("public")
QDEBUG : HolidayRegionTest::testRegions() Date = "2023-01-02" Duration = 1 Name
= "Victory Day " Category = ("public")
QDEBUG : HolidayRegionTest::testRegions() Date = "2023-04-07" Duration = 1 Name
= "Good Friday " Category = ("public")
QDEBUG : HolidayRegionTest::testRegions() Date = "2023-05-01" Duration = 1 Name
= "International Workers Day" Category = ("public")
QDEBUG : HolidayRegionTest::testRegions() Date = "2023-05-14" Duration = 1 Name
= "Mother's Day " Category = ("cultural")
QDEBUG : HolidayRegionTest::testRegions() Date = "2023-06-18" Duration = 1 Name
= "Children's Day " Category = ("cultural")
QDEBUG : HolidayRegionTest::testRegions() Date = "2023-07-16" Duration = 1 Name
= "Father's Day " Category = ("cultural")
QDEBUG : HolidayRegionTest::testRegions() Date = "2023-07-25" Duration = 1 Name
= "Commemoration of the Assault on Cuartel Moncada" Category = ("public")
QDEBUG : HolidayRegionTest::testRegions() Date = "2023-07-26" Duration = 1 Name
= "National Rebellion Day" Category = ("public")
QDEBUG : HolidayRegionTest::testRegions() Date = "2023-07-27" Duration = 1 Name
= "Commemoration of the Assault on Cuartel Moncada" Category = ("public")
QDEBUG : HolidayRegionTest::testRegions() Date = "2023-10-10" Duration = 1 Name
= "Independence Day " Category = ("public")
QDEBUG : HolidayRegionTest::testRegions() Date = "2023-12-25" Duration = 1 Name
= "Christmas " Category = ("public")
QDEBUG : HolidayRegionTest::testRegions() Date = "2023-12-31" Duration = 1 Name
= "End of the Year " Category = ("cultural")
QDEBUG : HolidayRegionTest::testRegions()
QDEBUG : HolidayRegionTest::testRegions()
QDEBUG : HolidayRegionTest::testRegions() This regionCode = "cu_es"
QDEBUG : HolidayRegionTest::testRegions() Is valid? = true
QDEBUG : HolidayRegionTest::testRegions() Country code = "CU"
QDEBUG : HolidayRegionTest::testRegions() Language code = "es"
QDEBUG : HolidayRegionTest::testRegions() Name = "Cuba"
QDEBUG : HolidayRegionTest::testRegions() Description = "Días Feriados de
Cuba"
QDEBUG : HolidayRegionTest::testRegions()
QDEBUG : HolidayRegionTest::testRegions() Parsing region = "cu_es" year =
2023 calendar = "gregorian"
QDEBUG : HolidayRegionTest::testRegions() Date = "2023-01-01" Duration = 1 Name
= "Día de la Liberación" Category = ("public")
QDEBUG : HolidayRegionTest::testRegions() Date = "2023-01-02" Duration = 1 Name
= "Día de la Victoria " Category = ("public")
QDEBUG : HolidayRegionTest::testRegions() Date = "2023-04-07" Duration = 1 Name
= "Viernes Santo " Category = ("public")
QDEBUG : HolidayRegionTest::testRegions() Date = "2023-05-01" Duration = 1 Name
= "Día internacional de los trabajadores" Category = ("public")
QDEBUG : HolidayRegionTest::testRegions() Date = "2023-05-14" Duration = 1 Name
= "Día de las madres " Category = ("cultural")
QDEBUG : HolidayRegionTest::testRegions() Date = "2023-06-18" Duration = 1 Name
= "Día de los padres " Category = ("cultural")
QDEBUG : HolidayRegionTest::testRegions() Date = "2023-07-16" Duration = 1 Name
= "Día de los niños " Category = ("cultural")
QDEBUG : HolidayRegionTest::testRegions() Date = "2023-07-25" Duration = 1 Name
= "Conmemoración del Asalto al Cuartel Moncada" Category = ("public")
QDEBUG : HolidayRegionTest::testRegions() Date = "2023-07-26" Duration = 1 Name
= "Día de la Rebeldía Nacional" Category = ("public")
QDEBUG : HolidayRegionTest::testRegions() Date = "2023-07-27" Duration = 1 Name
= "Conmemoración del Asalto al Cuartel Moncada" Category = ("public")
QDEBUG : HolidayRegionTest::testRegions() Date = "2023-10-10" Duration = 1 Name
= "Día de la Independencia" Category = ("public")
QDEBUG : HolidayRegionTest::testRegions() Date = "2023-12-25" Duration = 1 Name
= "Navidad " Category = ("public")
QDEBUG : HolidayRegionTest::testRegions() Date = "2023-12-31" Duration = 1 Name
= "Fin de año " Category = ("cultural")
QDEBUG : HolidayRegionTest::testRegions()
QDEBUG : HolidayRegionTest::testRegions()
```
M +1 -1 README.md
M +2 -0 holidays/holidays.qrc
A +50 -0 holidays/plan2/holiday_cu_en
A +50 -0 holidays/plan2/holiday_cu_es
https://invent.kde.org/frameworks/kholidays/commit/7d56bb5272a95c2976f5028918650ff1065034f3
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Kdepim-bugs
mailing list