TWSD-727 - Develop to Auto - TCP module pdf report is not generating from Monitoring Center

Review Request #1054 — Created Sept. 10, 2025 and submitted — Latest diff uploaded

shuinvy
APV10
rel_apv_10_7
TWSD-727
jasonchang, timlai, timsu, weikai

Time differance cause the issue

I mistake writing the filename in local time, but it should be in GMT time.
so I change the function of DatabaseUtils get_date_for_db_name from localtime to gmtime,
then new filename will be GMT time.
I also check reading file should be GMT time, too.
The local time should be used only when it show to front-end (PDF, or Charts).
Thus,
we should writing data in GMT time, and use GMT time to read data.
I also fixed some regular expression issue.


    Loading...