diff --git a/README.md b/README.md index 88478a7..9336917 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,30 @@ A simple application to manage attendance lists 1. Add whole timeframes in one click 1. Counting days of remote work +## db.sql +Holidays that occur in Poland are added to the db.sql file. If you want to replace it with your country, edit it as follows: (lines form **77**) +```sql +INSERT INTO + `dniwolne` (`id`, `data`, `nazwaSwieta`, `aktywne`) +VALUES + ( + 'YYYY-MM-DD', + 'Event 1', + 1 + ), + ( + 'YYYY-MM-DD', + 'Event 2', + 1 + ), + ... + ( + 'YYYY-MM-DD', + 'Event N', + 1 + ); +``` + ## TODO ## Licence diff --git a/db.sql b/db.sql index 68ec025..1e52788 100644 --- a/db.sql +++ b/db.sql @@ -78,9 +78,23 @@ INSERT INTO `dniwolne` (`id`, `data`, `nazwaSwieta`, `aktywne`) VALUES ( - 1, - '2023-08-15', - 'Wniebowzięcie Najświętszej Maryi Panny', + '2023-11-05', + 'Wszystkich Świętych', + 1 + ), + ( + '2023-11-11', + 'Narodowe Święto Niepodległości', + 1 + ), + ( + '2023-12-25', + 'pierwszy dzień Bożego Narodzenia', + 1 + ), + ( + '2023-12-26', + 'drugi dzień Bożego Narodzenia', 1 );