Change autocomplete to use a past date in the past
This commit is contained in:
1 parent
dc5e52d9ce
commit
bfe651a125
1 file changed
+1
-1
@@ -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 {
|
||||||
|
|||||||
Reference in new issue
Block a user