changed default event view to 90 days
This commit is contained in:
parent
9912af7690
commit
d259817ea9
|
@ -58,16 +58,10 @@ pub fn read_events(
|
|||
}
|
||||
}
|
||||
},
|
||||
None => Local::now().naive_local() + Duration::days(30)
|
||||
};
|
||||
let limit = match limit{
|
||||
Some(limit) => limit,
|
||||
None => settings.api.default_pagination_limit,
|
||||
};
|
||||
let offset = match offset{
|
||||
Some(offset) => offset,
|
||||
None => 0,
|
||||
None => Local::now().naive_local() + Duration::days(90)
|
||||
};
|
||||
let limit = limit.unwrap_or(settings.api.default_pagination_limit);
|
||||
let offset = offset.unwrap_or(0);
|
||||
|
||||
let groups = match groups{
|
||||
Some(groups) => {
|
||||
|
|
Loading…
Reference in New Issue