Comments (1)
All AWS Lambda instances, regardless of which region they are in, have their timezone set to UTC/GMT.
You can check this, by looking into the TZ
environment variable:
// ":UTC"
console.log(process.env.TZ);
Chrome inherits this timezone, as confirmed by the following snippet:
// "Sun Jun 23 2019 13:31:35 GMT+0000 (Coordinated Universal Time)"
console.log(await page.evaluate(() => (new Date()).toString()));
It seems that you issue is specific to the page you're parsing, but without the actual URL it's hard to tell.
PS: I will reopen the issue if you think otherwise.
from chrome-aws-lambda.
Related Issues (20)
- [BUG] Error: Cannot find module 'node_modules\puppeteer-core\lib\cjs\puppeteer\common\Browser' HOT 5
- is this project is active and new versions expected ? HOT 7
- [BUG] Screenshots are only getting inline styles, no css HOT 1
- [BUG] Is this project dead? No node16 support? HOT 1
- [BUG] Failed to launch the browser process!\n\n\nTROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md\n", HOT 26
- Warning: Max serverless function size of 50 MB compressed or 250 MB uncompressed reached
- [REQUEST] Implement puppeteer-extra-plugin-stealth HOT 3
- [BUG] Images are not rendering in img tag or background-img HOT 6
- [REQUEST] Load chromium.font after launching Chromium
- [BUG] Why is puppeteer-core needed?
- [BUG] Cannot find module ...node_modules/puppeteer-core/lib/cjs/puppeteer/common/Browser' HOT 2
- Can't run Puppeteer in AWS Lambda. HOT 10
- [BUG] Error: Could not find expected browser (chrome) locally. Run `npm install` to download the correct Chromium revision (901912).
- How can we implement x-ray?
- [REQUEST] ARM support on lambda HOT 2
- [BUG] Does Not Work With Node 16 or 18 HOT 10
- [BUG] runtime.unhandledpromiserejection
- [BUG] - Scrolling doesn't work in AWS Lambda HOT 1
- Module parse failed: Unexpected token (1:10) HOT 4
- Feature Request: Update Puppeteer & Chromium Packages to Latest Versions HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chrome-aws-lambda.