
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
github.com/caiosba/slack-timezone-converter
An integration for Slack that converts any time string in a message to all timezones where the team is.
Just invite the @bot to your channel. Then, any message that mentions @time and contains a time will be converted, for example: Let's meet at 8am PDT please @time
.
Currently supports any format parsable by ActiveSupport.
Any time a time string is found in a message that mentions @time
, the integration, running in a server, converts it to all timezones
where the team has at least one member. A message is sent back to the Slack channel with all the conversions and a fancy clock icon
that represents the time. It supports any channel joined by the user whose token is passed as parameter. This user's timezone is used
as the default when a timezone is not present on the parsed message.
Example message that would be parsed: Hey, our meeting is at 12h30 PDT @time
.
In order to use this integration, the following Ruby libraries are needed:
But they can be installed by using bundle
:
bundle install
After all requirements are met, it's just necessary to run the code, passing the Slack token as parameter:
ruby slack-timezone-converter.rb <Slack token> <number of times per line (defaults to 1)> <additional message>
This program runs indefinitely and listens for new messages on the Slack channels. It can be stopped by just stopping the process.
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.