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

Option to specify default time zone for generated calendar events #250

Open
Jo11n opened this issue Feb 7, 2025 · 2 comments
Open

Option to specify default time zone for generated calendar events #250

Jo11n opened this issue Feb 7, 2025 · 2 comments
Labels
api_google_gemini Google Gemini API Integration api_ollama Ollama API Integration api_openai_comp Compatible OpenAI API Integration for local LLMs api_openai OpenAI API Integration for Chatgpt new feature Sparks Features to be added to the "ThunderAI Sparks" add-on.
Milestone

Comments

@Jo11n
Copy link

Jo11n commented Feb 7, 2025

Is your feature request related to a problem? Please describe.
When I create calendar events, the time zone of the event is currently set to "local time". For some reason, that translates to UTC on my PC even though I'd need Europe/Berlin. I tried to change the prompt but couldn't get it to work with something like "Start Date and Time (including timezone if specified. If no timezone is specified, use "Europe/Berlin")"

Describe the solution you'd like
I'd be grateful for some hints on how to change the prompt. Or a setting for the default time zone.

Additional context
I tried Gemini and Perplexity's Sonar Pro to generate the calendar event.

@micz micz added new feature api_openai OpenAI API Integration for Chatgpt api_ollama Ollama API Integration api_openai_comp Compatible OpenAI API Integration for local LLMs Sparks Features to be added to the "ThunderAI Sparks" add-on. api_google_gemini Google Gemini API Integration labels Feb 8, 2025
@micz
Copy link
Owner

micz commented Feb 8, 2025

In my tests I found that the AI output is not consistent at all.
Maybe you could try not to use "Europe/Berlin", but something like "UTC+1" or "UTC+2", since it depens on the DST.
Or keep "Europe/Berlin", but specify that it's a IANA time zone.

I think your idea of adding an option to set the default timezone is good, I'll work on it.
Thank you.

@Jo11n
Copy link
Author

Jo11n commented Feb 13, 2025

Thanks for your feedback. I tried a couple of things but couldn't get it to work. I'll set the timezone manually for now.

@micz micz added this to the 3.3.0 milestone Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api_google_gemini Google Gemini API Integration api_ollama Ollama API Integration api_openai_comp Compatible OpenAI API Integration for local LLMs api_openai OpenAI API Integration for Chatgpt new feature Sparks Features to be added to the "ThunderAI Sparks" add-on.
Projects
None yet
Development

No branches or pull requests

2 participants