Change autocomplete to use a past date in the past
This commit is contained in:
parent
dc5e52d9ce
commit
bfe651a125
@ -55,7 +55,7 @@ pub async fn time_hint_autocomplete(
|
|||||||
if diff < 0 {
|
if diff < 0 {
|
||||||
vec![AutocompleteChoice {
|
vec![AutocompleteChoice {
|
||||||
name: "Time is in the past".to_string(),
|
name: "Time is in the past".to_string(),
|
||||||
value: "now".to_string(),
|
value: "1 year ago".to_string(),
|
||||||
}]
|
}]
|
||||||
} else {
|
} else {
|
||||||
if diff > 86400 {
|
if diff > 86400 {
|
||||||
|
Loading…
Reference in New Issue
Block a user