NodeJS with Docker don't get local time

Wappler Version : 4.11
Operating System : macOS BigSur (M1)
Server Model: NodeJS
Database Type: MySQL
Hosting Type: Docker (local and remote)

Expected behavior

What do you think should happen?

Date should be correct in a Server Action.

Actual behavior

What actually happens?

Always shows UTC Time regardless of the used formatter

How to reproduce

  • Detail a step by step guide to reproduce the issue
  • A screenshot or short video indicating the problem
  • A copy of your code would help. Include: JS, HTML.
  • Test your steps on a clean page to see if you still have an issue

{"NOW":"2021-07-07T19:20:08","NOW_UTC":"2021-07-07T19:20:08","NOWtoLocalTime":"2021-07-07 19:20:08.000"}

I already deleted the lib directory and recreated it on restarting Wappler

Community Page
Last updated: