Change autocomplete to use a past date in the past

This commit is contained in:
jude 2023-08-01 20:13:05 +01:00
parent dc5e52d9ce
commit bfe651a125

View File

@ -55,7 +55,7 @@ pub async fn time_hint_autocomplete(
if diff < 0 {
vec![AutocompleteChoice {
name: "Time is in the past".to_string(),
value: "now".to_string(),
value: "1 year ago".to_string(),
}]
} else {
if diff > 86400 {