This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Response> | |
<script/> | |
<Say voice="alice">A product is available! Go get it.</Say> | |
</Response> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// funkce, ktera vygeneruje 7 datumu (ode dneska vcetne) | |
function generateDates() { | |
const dates = []; | |
const currentDate = new Date(); | |
for (let i = 0; i < 7; i++) { | |
const date = new Date(currentDate); | |
date.setDate(date.getDate() + i); |