Skip to content

Commit

Permalink
Shops
Browse files Browse the repository at this point in the history
  • Loading branch information
OzzyCzech committed Apr 11, 2024
1 parent 6b97cb7 commit d3d13e0
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ getNameDay(new Date(2024, 11, 24)); // Adam a Eva
getNamesDay(new Date(2024, 11, 24)); // [ 'Adam', 'Eva' ]
```

## Public holidays
## Czech public holidays

```javascript
import {isPublicHoliday, getPublicHoliday} from 'holidays-cs';
Expand All @@ -38,6 +38,18 @@ isPublicHoliday(new Date(2024, 10, 17)); // true
getPublicHoliday(new Date(2024, 10, 17)); // Den boje za svobodu a demokracii (1939 a 1989)
```

### Shops status

```javascript
import {areShopsOpen, getShopsStatus} from 'holidays-cs';

// 24. december 2024
areShopsOpen(new Date(2024, 11, 24)); // true

// 25. december 2024
getShopsStatus(new Date(2024, 11, 25)); // otevřeno do 12:00
```

## Fathers' and Mothers' day

```javascript
Expand Down

0 comments on commit d3d13e0

Please sign in to comment.