mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 09:10:25 +08:00
DEV: remove the includeMidFuture option on future-date-input (#15818)
This option was always on. Essentially, we set it only in two places and always use `|| true` with it. Note that we're going to switch future-date-input-selector to another source of time shortcuts(https://github.com/discourse/discourse/blob/main/app/assets/javascripts/discourse/app/lib/time-shortcut.js) and also change its API to make it more customizable. Removing the includeMidFuture option is a part of that change.
This commit is contained in:
parent
783912d305
commit
62029ec4eb
10 changed files with 4 additions and 13 deletions
|
@ -22,7 +22,6 @@
|
|||
{{future-date-input
|
||||
displayLabelIcon="far-clock"
|
||||
includeDateTime=true
|
||||
includeMidFuture=true
|
||||
clearable=true
|
||||
}}
|
||||
{{/styleguide-example}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue