slackapi / python-slack-sdk

Slack Developer Kit for Python
https://tools.slack.dev/python-slack-sdk/
MIT License
3.86k stars 832 forks source link

Setting `timezone="UTC"` for `TimePickerElement` should display "UTC" as the "hint" text, not "Monrovia, Reykjavik" #1525

Open macintacos opened 4 months ago

macintacos commented 4 months ago

I am trying to build a form for users to fill out, and it includes a time picker. I want to "force" users to use UTC for this time picker. However, when I set timezone="UTC", the label that is provided is "Monrovia, Reykjavik". This is causing a bunch of downstream confusion that I basically have no control over the representation of.

I could imagine two solutions to this:

Category (place an x in each of the [ ])

Requirements

Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.

zimeg commented 4 months ago

Hey @macintacos πŸ‘‹ This is super interesting and seems unexpected... I'm finding similar results in Block Kit Builder which makes me think this is a server side issue instead of something that's specific to this SDK.

I'll raise this with the right teams and keep this issue open to track progress, but I'm not sure of a workaround that exists with the available fields of the timepicker element πŸ˜” I know that might not be ideal for right now, although I'm hoping a fix can be found soon!

macintacos commented 4 months ago

Sounds good. If it gets resolved with a server-side update, that's good enough for me.

github-actions[bot] commented 3 months ago

πŸ‘‹ It looks like this issue has been open for 30 days with no activity. We'll mark this as stale for now, and wait 10 days for an update or for further comment before closing this issue out. If you think this issue needs to be prioritized, please comment to get the thread going again! Maintainers also review issues marked as stale on a regular basis and comment or adjust status if the issue needs to be reprioritized.

macintacos commented 3 months ago

@zimeg any word from backend folks? Hesitant to close this until it's actually resolved.

zimeg commented 3 months ago

@macintacos I agree it's not a closed issue- no worries keeping it open! I just followed up with the team and it's a noted bug without an immediate fix ready.

If this continues to be confusing to your app users I'd also recommend emailing feedback@slack.com since we can't provide a workaround at the SDK level at this time. Thanks for checking in! πŸ™