When doing small program cloud function development, I found that the insertion time to the database is not correct

The official document states:

The time zone

The time zone in the cloud function is UTC+0, not UTC+8. Pay special attention when using the time in the cloud function. If you want the default UTC+8, you can configure the function’s environment variable and set TZ to Asia/Shanghai.

1. Choose Cloud Console > Cloud Functions > Version and Configuration

2. Select the configuration

3. Set the time zone

If it does not take effect, check whether there are Spaces, save several times, wish success