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

Time Zone #121

Closed
ERFFFFF opened this issue Oct 14, 2024 · 2 comments
Closed

Time Zone #121

ERFFFFF opened this issue Oct 14, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@ERFFFFF
Copy link

ERFFFFF commented Oct 14, 2024

Feature Description

Hello,

Would it be possible to add in the API a timezone to the exported chanel ?, i only saw the UTC date, unfortunatelly, i would like to set it in my native language (French).

Something like that :
transcript = await chat_exporter.export(interaction.channel, "Europe/Paris")

Thank you,

@ERFFFFF ERFFFFF added the enhancement New feature or request label Oct 14, 2024
@doluk
Copy link
Contributor

doluk commented Nov 23, 2024

@ERFFFFF this is already implemented with the tz_info parameter of chat_exporter.export() and chat_exporter.raw_export(). It supports the timezones datetime.datetime.now() supports. It will default to 'UTC'.

@ERFFFFF
Copy link
Author

ERFFFFF commented Dec 10, 2024

My bad, didn't see it. Thank you so much for your help !

@ERFFFFF ERFFFFF closed this as completed Dec 10, 2024
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

2 participants