You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the latest version of Snowpack and all plugins.
What package manager are you using?
yarn
What operating system are you using?
Linux
Describe the bug
When running snowpack the timestamps in the logger output are ahead by 1 hour and 1 minute compared to the current system time.
snowpack dev:
$ date && yarn start
Tue 10 Aug 15:21:33 CEST 2021
yarn run v1.22.10
$ snowpack dev
[16:22:33] [snowpack] Hint: run "snowpack init" to create a project config file. Using defaults...
[16:22:33] [snowpack] Ready!
[16:22:33] [snowpack] Server started in 53ms.
[16:22:33] [snowpack] Local: http://localhost:8080
snowpack build:
$ date && yarn build
Tue 10 Aug 15:27:16 CEST 2021
yarn run v1.22.10
$ snowpack build
[16:28:16] [snowpack] Hint: run "snowpack init" to create a project config file. Using defaults...
[16:28:17] [snowpack] ! building files...
[16:28:17] [snowpack] ✔ files built. [0.03s]
[16:28:17] [snowpack] ! building dependencies...
[16:28:17] [snowpack] ✔ dependencies built. [0.00s]
[16:28:17] [snowpack] ! writing to disk...
[16:28:17] [snowpack] ✔ write complete. [0.02s]
[16:28:17] [snowpack] ▶ Build Complete!
Done in 0.60s.
Quick checklist
What package manager are you using?
yarn
What operating system are you using?
Linux
Describe the bug
When running snowpack the timestamps in the logger output are ahead by 1 hour and 1 minute compared to the current system time.
snowpack dev
:snowpack build
:The culprit seems to be the following line:
https://github.com/snowpackjs/snowpack/blob/7b8aba126cbddf711b1270ab05e1563111f4a699/snowpack/src/logger.ts#L62
I'm prepared to submit a PR to fix this.
Steps to reproduce
date && yarn start
date
and the timestamp of snowpack's logging output.Link to minimal reproducible example (optional)
No response
The text was updated successfully, but these errors were encountered: