Skip to content

fix: extract time util functions to pkg/timeutil for company notice timezone handling#587

Merged
winfredLIN merged 1 commit intomainfrom
fix-company-notice
Mar 25, 2026
Merged

fix: extract time util functions to pkg/timeutil for company notice timezone handling#587
winfredLIN merged 1 commit intomainfrom
fix-company-notice

Conversation

@LordofAvernus
Copy link
Copy Markdown
Collaborator

@LordofAvernus LordofAvernus commented Mar 25, 2026

Summary

公告功能时区问题修复

lissue: https://github.com/actiontech/dms-ee/issues/756

- Introduced ToUTC function to convert a time pointer to its UTC equivalent, returning nil if the input is nil.
- Added NowUTC function to retrieve the current time in UTC.
@github-actions
Copy link
Copy Markdown

PR Reviewer Guide 🔍

⏱️ Estimated effort to review: 1 🔵⚪⚪⚪⚪
🧪 PR contains tests
🔒 No security concerns identified
⚡ No major issues detected

@github-actions
Copy link
Copy Markdown

PR Code Suggestions ✨

No code suggestions found for the PR.

@winfredLIN winfredLIN merged commit 261a8a9 into main Mar 25, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants