Skip to content

Commit

Permalink
FIX: timestamp on Covid-19.sledilnik.org in GMT+0
Browse files Browse the repository at this point in the history
set timezone to "Europe/Ljubljana"
  • Loading branch information
jalezi committed Nov 9, 2021
1 parent 7c512a4 commit 265dbce
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ module.exports.handler = async (event, context, callback) => {
await page.setViewport(viewport);
console.log('Set viewport');

await page.emulateTimezone('Europe/Ljubljana');

await page.goto(url, { waitUntil: 'networkidle0' });
console.log('Went to ', url);

Expand Down

0 comments on commit 265dbce

Please sign in to comment.