-
Notifications
You must be signed in to change notification settings - Fork 789
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[🐛 Bug]: in UI timeline panel, date variable alert.lastReceived show date in UTC #2973
Comments
Hey @00041275! I'm here to help you with any bugs, questions, or contributions you have. Let's work together to solve this issue! The issue you're experiencing with the In the UI timeline panel, the For the alert history, the To ensure consistency, you might want to check if the To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
Thank you for another great issue :) What would you prefer more - I guess the locale time makes more sense, correct me if I'm wrong. |
Yes of course, locale time :) UI is my weak point, but I can report a problem. In general, I see a problem in dates on the backend and frontend (somewhere UTC, somewhere just a date (local)). Of course, the date received in KEEP for the alert part should be in UTC, so as not to depend on the time zone change. But for example, keep/api/core/db.py, function update_provider_last_pull_time, line provider.last_pull_time = datetime.now(tz=timezone.utc) - for some obvious reason, instead of UTC date in the DB, I get local time. After looking at some cases, I removed timezone "datetime.now()" and everything worked. In simple terms, 4 parts are not clear:
|
Describe the bug
in UI timeline panel, date variable alert.lastReceived show date in UTC, but panel alert history show local date.
To Reproduce
Steps to reproduce the behavior:
Screenshots
The text was updated successfully, but these errors were encountered: