cnpm / cnpmcore

Private NPM Registry for Enterprise
https://npmmirror.com
MIT License
622 stars 84 forks source link

docs: add custom time zone example #651

Closed hljwkwm closed 9 months ago

hljwkwm commented 9 months ago

使用Docker打出的镜像,默认会使用0区时区,会影响到日志、数据库等时间的显示,考虑到全球化,可在镜像运行时,设置环境变量TZ即可解决该问题,TZ列表可参考:https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List

codecov[bot] commented 9 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (a6737e6) 96.89% compared to head (7cfd4ec) 96.84%. Report is 1 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #651 +/- ## ========================================== - Coverage 96.89% 96.84% -0.06% ========================================== Files 180 180 Lines 17598 17598 Branches 2296 2292 -4 ========================================== - Hits 17052 17043 -9 - Misses 546 555 +9 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

hljwkwm commented 9 months ago

感谢大佬帮忙修改commit massage,每天学习一个小技巧😁