mirror of https://github.com/zulip/zulip.git
5113f4e2e9
This commit ensures that user-locale and 24-hour preferences are respected in the message-scheduling modal. It also simplifies the translation of text strings in the scheduling modal. Available scheduling options and their time values, including whether the options are allowed, are now calculated every time a user opens the scheduling modal. In order to achieve those things, additional interrelated fixes here accomplish the following: 1. Modal-scheduling opts now have data- attributes containing timestamps for the time a message will be scheduled to send. 2. With those timestamps in place, the logic for setting the scheduled send-time is simplified. 3. There are no more `send_later_xxx` global variables in the `schedule_send` module. Fixes #25403. |
||
---|---|---|
.. | ||
e2e-tests | ||
generated | ||
html | ||
images | ||
shared | ||
src | ||
styles | ||
templates | ||
tests | ||
third | ||
.browserslistrc | ||
.gitignore | ||
babel.config.js | ||
debug-require-webpack-plugin.ts | ||
debug-require.js | ||
postcss.config.js | ||
webpack.assets.json | ||
webpack.config.ts | ||
webpack.dev-assets.json |