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

Make user's timezone available in user_session #1751

Open
mihidumh opened this issue Jan 19, 2025 · 1 comment
Open

Make user's timezone available in user_session #1751

mihidumh opened this issue Jan 19, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@mihidumh
Copy link

Is your feature request related to a problem? Please describe.
It would be nice to be able to know the user's time zone as context in addition to language.

Describe the solution you'd like
cl.user_session.get("timezone") will return the user's time zone similar to cl.user_session.get("languages").

@dosubot dosubot bot added the enhancement New feature or request label Jan 19, 2025
@perutilli
Copy link

I would also find this useful, since it's often necessary to insert the current date and time as a variable in the prompt.

@dokterbob dokterbob changed the title Get User Time Zone Make user's timezone available in user_session Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants