Skip to content
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

Added ability to set timezone offset for Confluence connector in UI #3419

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hagen-danswer
Copy link
Contributor

Description

  • we now allow the user to manually input their timezone through the UI if they are trying to use confluence server

Backporting (check the box to trigger backport action)

Note: You have to check that the action passes, otherwise resolve the conflicts manually and tag the patches.

  • This PR should be backported (make sure to check that the backport attempt succeeds)

Copy link

vercel bot commented Dec 10, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
internal-search ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 10, 2024 10:20pm

"%Y-%m-%d %H:%M"
)
# Convert float timestamps to datetime, then adjust for timezone
start_dt = datetime.fromtimestamp(start) + timedelta(hours=self.timezone_offset)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should specify timezone here

@etiennellipse
Copy link

About that; setting an offset will require us to update it when switching from/to Daylight Savings Time.

EST => EDT, EDT => EST

Setting the name of the timezone would be more permanent.

Although... there should be a way to fix this without configuration! But I guess you are limited by the Confluence REST API somehow!?

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.

3 participants