Skip to content

Add a Timezone parameter for the slack TimePickerBlockElement#1448

Merged
nlopes merged 1 commit into
slack-go:masterfrom
jamesjarvis:feat/add-timezone-param-totimepicker-block
Jun 13, 2025
Merged

Add a Timezone parameter for the slack TimePickerBlockElement#1448
nlopes merged 1 commit into
slack-go:masterfrom
jamesjarvis:feat/add-timezone-param-totimepicker-block

Conversation

@jamesjarvis

Copy link
Copy Markdown
Contributor

This diff adds support for the "Timezone" parameter in the slack timepicker block element.
See https://api.slack.com/reference/block-kit/block-elements#timepicker for details.

By default this will be set to the empty string, equivalent to not set.
This can be overridden by the user.

@nlopes nlopes self-assigned this Jun 13, 2025
@nlopes nlopes self-requested a review June 13, 2025 10:34
@nlopes nlopes merged commit 2674d84 into slack-go:master Jun 13, 2025
7 of 8 checks passed
@jamesjarvis jamesjarvis deleted the feat/add-timezone-param-totimepicker-block branch June 13, 2025 11:58
nlopes added a commit that referenced this pull request Jun 28, 2025
This diff completes the rest of the implementation from #1448 , as it
was accidentally missed out of the first PR.
The first PR allows the user to provide a Timezone to the slack model in
blockkit, but this PR allows the application to read state updates from
slack (i.e. read a changed timezone value)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants